mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 20:57:17 +01:00
9 lines
173 B
TypeScript
9 lines
173 B
TypeScript
import { create } from 'zustand';
|
|
|
|
const store = create(() => ({}));
|
|
|
|
export function touch(key: string) {
|
|
store.setState({ [key]: Date.now() });
|
|
}
|
|
|
|
export default store;
|