mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-29 14:46:41 +07:00
added dynamic routes
This commit is contained in:
parent
8c17c02b3e
commit
0a1d2cbf99
16 changed files with 143 additions and 89 deletions
7
src/components/bars/SubmitBar/ssr.ts
Normal file
7
src/components/bars/SubmitBar/ssr.ts
Normal file
|
@ -0,0 +1,7 @@
|
|||
import dynamic from 'next/dynamic';
|
||||
|
||||
import type { SubmitBarProps } from './index';
|
||||
|
||||
export const SubmitBarSSR = dynamic<SubmitBarProps>(
|
||||
() => import('./index').then(it => it.SubmitBar),
|
||||
{ ssr: false });
|
Loading…
Add table
Add a link
Reference in a new issue