diff --git a/src/components/addpeer/AddPeerPopup.tsx b/src/components/addpeer/AddPeerPopup.tsx index 05a7df05..9af5356a 100644 --- a/src/components/addpeer/AddPeerPopup.tsx +++ b/src/components/addpeer/AddPeerPopup.tsx @@ -32,6 +32,9 @@ export const AddPeerPopup: React.FC = ({ const [openTab, setOpenTab] = useState(detectOSTab); + const [width, setWidth] = useState(window.innerWidth); + const isMobile = width <= 768; + const items: TabsProps['items'] = [ { key: "1", @@ -78,7 +81,7 @@ export const AddPeerPopup: React.FC = ({ To get started install NetBird and log in using your {"\n"} email account. - { footer={[]} width={780} > - {/* */} {confirmModalContextHolder}