Changed import path.
This commit is contained in:
@@ -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(() => ({}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user