cleaning up flow so that we don't have overlay until it's actually only overlay mode
This commit is contained in:
@@ -310,9 +310,9 @@ export default function NirvanaRouter() {
|
|||||||
);
|
);
|
||||||
|
|
||||||
const overlayView = useMemo(() => {
|
const overlayView = useMemo(() => {
|
||||||
if (desktopMode === "flowState") return <></>;
|
if (desktopMode === "overlayOnly") return <Overlay />;
|
||||||
|
|
||||||
return <Overlay />;
|
return <></>;
|
||||||
}, [desktopMode]);
|
}, [desktopMode]);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user