Spaces:
Configuration error
Configuration error
Download src/store/modified.ts from SreejithSHR/umami: direct link, hf CLI and curl.
- Browser
- Download file 173 Bytes
-
https://huggingface.co/spaces/SreejithSHR/umami/resolve/main/src/store/modified.ts
- Command line
-
hf download hf://spaces/SreejithSHR/umami/src/store/modified.ts
-
curl -L -o modified.ts https://huggingface.co/spaces/SreejithSHR/umami/resolve/main/src/store/modified.ts
173 Bytes
| import { create } from 'zustand'; | |
| const store = create(() => ({})); | |
| export function touch(key: string) { | |
| store.setState({ [key]: Date.now() }); | |
| } | |
| export default store; | |