mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 19:49:50 +02:00
feat: experimental warning
This commit is contained in:
1 parent
6fd8b83d39
commit
24ca684db3
3 files changed
+61
-8
No files matched your search
@@ -0,0 +1,15 @@
|
||||
import { create } from 'zustand';
|
||||
import { persist } from 'zustand/middleware';
|
||||
|
||||
export interface App {
|
||||
bypassDevBuildAlert: boolean;
|
||||
}
|
||||
|
||||
export const useApp = create<App>()(
|
||||
persist(
|
||||
(set) => ({
|
||||
bypassDevBuildAlert: false,
|
||||
}),
|
||||
{ name: 'app' },
|
||||
),
|
||||
);
|
||||
Reference in new issue
Block a user