mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
(nextjs) fixed flow loading, anchors and styles
This commit is contained in:
parent
2e0ad878a3
commit
c5bac54494
11 changed files with 90 additions and 70 deletions
|
@ -3,6 +3,7 @@ import { FlowStore } from '~/store/flow/FlowStore';
|
|||
import { ModalStore } from '~/store/modal/ModalStore';
|
||||
import { LabStore } from '~/store/lab/LabStore';
|
||||
import { AuthStore } from '~/store/auth/AuthStore';
|
||||
import { useStaticRendering } from 'mobx-react-lite';
|
||||
|
||||
export class Store {
|
||||
flow = new FlowStore();
|
||||
|
@ -22,3 +23,6 @@ export class Store {
|
|||
const defaultStore = new Store();
|
||||
|
||||
export const getMOBXStore = () => defaultStore;
|
||||
|
||||
// eslint-disable-next-line react-hooks/rules-of-hooks
|
||||
useStaticRendering(typeof window === 'undefined');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue