mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Updated Funnel report component.
This commit is contained in:
parent
2832ff9622
commit
f81f0839c6
7 changed files with 169 additions and 116 deletions
|
|
@ -20,27 +20,27 @@ const initialState = {
|
|||
|
||||
const store = create(() => ({ ...initialState }));
|
||||
|
||||
export function setTheme(theme) {
|
||||
export function setTheme(theme: string) {
|
||||
store.setState({ theme });
|
||||
}
|
||||
|
||||
export function setLocale(locale) {
|
||||
export function setLocale(locale: string) {
|
||||
store.setState({ locale });
|
||||
}
|
||||
|
||||
export function setShareToken(shareToken) {
|
||||
export function setShareToken(shareToken: string) {
|
||||
store.setState({ shareToken });
|
||||
}
|
||||
|
||||
export function setUser(user) {
|
||||
export function setUser(user: object) {
|
||||
store.setState({ user });
|
||||
}
|
||||
|
||||
export function setConfig(config) {
|
||||
export function setConfig(config: object) {
|
||||
store.setState({ config });
|
||||
}
|
||||
|
||||
export function setDateRange(dateRange) {
|
||||
export function setDateRange(dateRange: object) {
|
||||
store.setState({ dateRange });
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue