mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Changed import path.
This commit is contained in:
parent
a62e84f516
commit
8525188e42
365 changed files with 1277 additions and 1267 deletions
|
|
@ -7,9 +7,9 @@ import {
|
|||
LOCALE_CONFIG,
|
||||
THEME_CONFIG,
|
||||
TIMEZONE_CONFIG,
|
||||
} from 'lib/constants';
|
||||
import { getItem } from 'lib/storage';
|
||||
import { getTimezone } from 'lib/date';
|
||||
} from '@/lib/constants';
|
||||
import { getItem } from '@/lib/storage';
|
||||
import { getTimezone } from '@/lib/date';
|
||||
|
||||
function getDefaultTheme() {
|
||||
return typeof window !== 'undefined'
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { create } from 'zustand';
|
||||
import { DASHBOARD_CONFIG, DEFAULT_WEBSITE_LIMIT } from 'lib/constants';
|
||||
import { getItem, setItem } from 'lib/storage';
|
||||
import { DASHBOARD_CONFIG, DEFAULT_WEBSITE_LIMIT } from '@/lib/constants';
|
||||
import { getItem, setItem } from '@/lib/storage';
|
||||
|
||||
export const initialState = {
|
||||
showCharts: true,
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
import { create } from 'zustand';
|
||||
import { produce } from 'immer';
|
||||
import semver from 'semver';
|
||||
import { CURRENT_VERSION, VERSION_CHECK, UPDATES_URL } from 'lib/constants';
|
||||
import { getItem } from 'lib/storage';
|
||||
import { CURRENT_VERSION, VERSION_CHECK, UPDATES_URL } from '@/lib/constants';
|
||||
import { getItem } from '@/lib/storage';
|
||||
|
||||
const initialState = {
|
||||
current: CURRENT_VERSION,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { create } from 'zustand';
|
||||
import { produce } from 'immer';
|
||||
import { DateRange } from 'lib/types';
|
||||
import { DateRange } from '@/lib/types';
|
||||
|
||||
const store = create(() => ({}));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue