mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Updated theme handling.
This commit is contained in:
parent
c71e9b5707
commit
34a8fa100c
10 changed files with 57 additions and 93 deletions
|
|
@ -31,10 +31,6 @@ const initialState = {
|
|||
|
||||
const store = create(() => ({ ...initialState }));
|
||||
|
||||
export function setTheme(theme: string) {
|
||||
store.setState({ theme });
|
||||
}
|
||||
|
||||
export function setTimezone(timezone: string) {
|
||||
store.setState({ timezone });
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue