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