mirror of
https://github.com/kremalicious/umami.git
synced 2024-06-28 16:57:52 +02:00
10 lines
173 B
TypeScript
10 lines
173 B
TypeScript
import { create } from 'zustand';
|
|
|
|
const store = create(() => ({}));
|
|
|
|
export function touch(key: string) {
|
|
store.setState({ [key]: Date.now() });
|
|
}
|
|
|
|
export default store;
|