sync: phase 1 backend + frontend from server
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import { create } from 'zustand';
|
||||
|
||||
interface LayoutState {
|
||||
isDM: boolean;
|
||||
setDM: (value: boolean) => void;
|
||||
}
|
||||
|
||||
export const useLayoutStore = create<LayoutState>((set) => ({
|
||||
isDM: false,
|
||||
setDM: (value) => set({ isDM: value }),
|
||||
}));
|
||||
Reference in New Issue
Block a user