mirror of
https://github.com/umami-software/umami.git
synced 2026-02-05 05:07:15 +01: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;
|