Typescript refactor.
This commit is contained in:
1 parent
b578162cb6
commit
7c42f0da82
173 files changed
+968
-549
No files matched your search
@@ -0,0 +1,9 @@
|
||||
import { create } from 'zustand';
|
||||
|
||||
const store = create(() => ({}));
|
||||
|
||||
export function setValue(key, value) {
|
||||
store.setState({ [key]: value });
|
||||
}
|
||||
|
||||
export default store;
|
||||
Reference in new issue
Block a user