mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
feat: cleaner fullscreen
This commit is contained in:
1 parent
c9cfb16469
commit
cebc4392ed
6 files changed
+13
-30
No files matched your search
+1
-3
@@ -12,7 +12,6 @@ import Navbar from '../components/Navbar';
|
||||
import { Party3 } from '../components/Party3';
|
||||
import isDev from '../core/blitzkit/isDev';
|
||||
import { isLocalhost } from '../core/blitzkit/isLocalhost';
|
||||
import { useFullScreen } from '../hooks/useFullScreen';
|
||||
import { useApp } from '../stores/app';
|
||||
|
||||
config();
|
||||
@@ -34,7 +33,6 @@ export default function RootLayout({ children }: RootLayoutProps) {
|
||||
const isRoot = pathname === '/';
|
||||
const darkMode = useApp((state) => state.darkMode);
|
||||
const [showDevBuildAlert, setShowDevBuildAlert] = useState(false);
|
||||
const isFullScreen = useFullScreen();
|
||||
|
||||
useEffect(() => {
|
||||
setShowDevBuildAlert(
|
||||
@@ -120,7 +118,7 @@ export default function RootLayout({ children }: RootLayoutProps) {
|
||||
{children}
|
||||
</Suspense>
|
||||
|
||||
{!isEmbed && !isFullScreen && <Footer />}
|
||||
{!isEmbed && <Footer />}
|
||||
</Flex>
|
||||
</Theme>
|
||||
</body>
|
||||
|
||||
Reference in new issue
Block a user