mirror of
https://github.com/umami-software/umami.git
synced 2026-02-14 09:35:36 +01:00
Replaced redux with zustand. Fixed login issue, closes #980.
This commit is contained in:
parent
7071f5fba5
commit
9937caa569
33 changed files with 234 additions and 286 deletions
9
store/queries.js
Normal file
9
store/queries.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import create from 'zustand';
|
||||
|
||||
const store = create(() => ({}));
|
||||
|
||||
export function saveQuery(url, data) {
|
||||
store.setState({ [url]: data });
|
||||
}
|
||||
|
||||
export default store;
|
||||
Loading…
Add table
Add a link
Reference in a new issue