mirror of
https://gh-proxy.org/https://github.com/tiajinsha/JKVideo
synced 2026-07-08 07:28:37 +08:00
bug修改
This commit is contained in:
11
store/visibleBigKeyStore.ts
Normal file
11
store/visibleBigKeyStore.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { create } from "zustand";
|
||||
|
||||
interface VisibleBigKeyState {
|
||||
key: string | null;
|
||||
setKey: (key: string | null) => void;
|
||||
}
|
||||
|
||||
export const useVisibleBigKeyStore = create<VisibleBigKeyState>((set) => ({
|
||||
key: null,
|
||||
setKey: (key) => set({ key }),
|
||||
}));
|
||||
Reference in New Issue
Block a user