mirror of
https://github.com/kremalicious/umami.git
synced 2025-02-06 09:25:44 +01:00
10 lines
183 B
TypeScript
10 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;
|