diff --git a/src/components/PlatformSwitcher.tsx b/src/components/PlatformSwitcher.tsx index ceafe830..142e6371 100644 --- a/src/components/PlatformSwitcher.tsx +++ b/src/components/PlatformSwitcher.tsx @@ -28,9 +28,8 @@ export default function PlatformSwitcher() { const { isDesktop } = useWidth() const dispatch = useDispatch() const { getUpgradePhases } = useWallet() - const { status } = useNetwork() - const [featureEnabled, setFeatureEnabled] = useState(false) + const { status } = useNetwork() useEffect(() => { if (status === 'succeeded') { @@ -51,7 +50,6 @@ export default function PlatformSwitcher() { dispatch(changeActiveApp('Network')) } }, [featureEnabled, allApps, activeApp, dispatch]) - return (