Changed import path.

This commit is contained in:
Mike Cao 2025-02-05 15:59:59 -08:00
parent a62e84f516
commit 8525188e42
365 changed files with 1277 additions and 1267 deletions

View file

@ -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'

View file

@ -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,

View file

@ -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,

View file

@ -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(() => ({}));