mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
(nextjs) fixed header appearance for SSR
This commit is contained in:
parent
2a6ded288b
commit
3da5aba726
3 changed files with 13 additions and 2 deletions
1
src/constants/ssr.ts
Normal file
1
src/constants/ssr.ts
Normal file
|
@ -0,0 +1 @@
|
|||
export const isSSR = typeof window === 'undefined';
|
Loading…
Add table
Add a link
Reference in a new issue