cleaning up flow so that we don't have overlay until it's actually only overlay mode

This commit is contained in:
talksik
2022-05-05 10:03:43 -05:00
parent 4c9035ea3b
commit 3ca0c8b711
+2 -2
View File
@@ -310,9 +310,9 @@ export default function NirvanaRouter() {
);
const overlayView = useMemo(() => {
if (desktopMode === "flowState") return <></>;
if (desktopMode === "overlayOnly") return <Overlay />;
return <Overlay />;
return <></>;
}, [desktopMode]);
return (