Typescript refactor.

This commit is contained in:
Mike Cao 2023-12-03 03:07:03 -08:00
parent b578162cb6
commit 7c42f0da82
173 changed files with 968 additions and 549 deletions

9
src/store/cache.ts Normal file
View file

@ -0,0 +1,9 @@
import { create } from 'zustand';
const store = create(() => ({}));
export function setValue(key, value) {
store.setState({ [key]: value });
}
export default store;