mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00:00
9 lines
183 B
TypeScript
9 lines
183 B
TypeScript
import { create } from 'zustand';
|
|
|
|
const store = create(() => ({}));
|
|
|
|
export function setValue(key: string, value: any) {
|
|
store.setState({ [key]: value });
|
|
}
|
|
|
|
export default store;
|