From 8b6c0a966ec3e5fad63232e77457fe4d44aa6215 Mon Sep 17 00:00:00 2001 From: z0ccc Date: Thu, 29 Dec 2022 20:06:39 -0500 Subject: [PATCH] Removed vpn tab --- src/Popup/Pages/LocationPage/index.tsx | 9 ++------- src/Popup/Pages/SettingsPage/index.tsx | 11 +++-------- src/Popup/Popup.tsx | 10 +++++----- 3 files changed, 10 insertions(+), 20 deletions(-) diff --git a/src/Popup/Pages/LocationPage/index.tsx b/src/Popup/Pages/LocationPage/index.tsx index 7a0b83f..1ba9c6e 100644 --- a/src/Popup/Pages/LocationPage/index.tsx +++ b/src/Popup/Pages/LocationPage/index.tsx @@ -12,10 +12,9 @@ import { RotateCw } from 'react-feather' interface LocationPageProps { tab: string - setTab: (tab: string) => void } -const LocationPage = ({ tab, setTab }: LocationPageProps) => { +const LocationPage = ({ tab }: LocationPageProps) => { const [browserDefault, setBrowserDefault] = useState(true) const [ipData, setIpData] = useState() const [ipInfo, setIpInfo] = useState('loading...') @@ -254,11 +253,7 @@ const LocationPage = ({ tab, setTab }: LocationPageProps) => { }} > Vytal does not change your IP address. To change your IP address you - will need a{' '} - - . + will need a VPN or proxy. ) diff --git a/src/Popup/Pages/SettingsPage/index.tsx b/src/Popup/Pages/SettingsPage/index.tsx index 5c3bdae..1235cee 100644 --- a/src/Popup/Pages/SettingsPage/index.tsx +++ b/src/Popup/Pages/SettingsPage/index.tsx @@ -1,13 +1,12 @@ -import { Button, Link, Text } from 'theme-ui' +import { Link, Text } from 'theme-ui' import Page from '../../Components/Page' import InfoItem from './InfoItem' interface SettingsPageProps { tab: string - setTab: (tab: string) => void } -const SettingsPage = ({ tab, setTab }: SettingsPageProps) => { +const SettingsPage = ({ tab }: SettingsPageProps) => { return ( @@ -28,11 +27,7 @@ const SettingsPage = ({ tab, setTab }: SettingsPageProps) => { Vytal does not change your IP address. To change your IP address you - will need a{' '} - - . + will need a VPN or proxy. {/* Vytal utilizes the debugger API to spoof data which is completely diff --git a/src/Popup/Popup.tsx b/src/Popup/Popup.tsx index 6b242f8..83170f9 100644 --- a/src/Popup/Popup.tsx +++ b/src/Popup/Popup.tsx @@ -58,11 +58,11 @@ const Popup = () => { active={tab === 'userAgent'} onClick={() => setTab('userAgent')} /> - } active={tab === 'vpn'} onClick={() => setTab('vpn')} - /> + /> */} {/* } active={tab === 'settings'} @@ -75,10 +75,10 @@ const Popup = () => { /> - + - - + {/* */} +