1
0
Fork 0
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:
Fedor Katurov 2022-01-19 14:44:18 +07:00
parent 2a6ded288b
commit 3da5aba726
3 changed files with 13 additions and 2 deletions

1
src/constants/ssr.ts Normal file
View file

@ -0,0 +1 @@
export const isSSR = typeof window === 'undefined';