mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 07:07:17 +01:00
Imported libraries, removed next-basics.
This commit is contained in:
parent
31266cb1ac
commit
113022ed17
44 changed files with 361 additions and 180 deletions
|
|
@ -8,7 +8,7 @@ import {
|
|||
THEME_CONFIG,
|
||||
TIMEZONE_CONFIG,
|
||||
} from 'lib/constants';
|
||||
import { getItem } from 'next-basics';
|
||||
import { getItem } from 'lib/storage';
|
||||
import { getTimezone } from 'lib/date';
|
||||
|
||||
function getDefaultTheme() {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
import { create } from 'zustand';
|
||||
import { DASHBOARD_CONFIG, DEFAULT_WEBSITE_LIMIT } from 'lib/constants';
|
||||
import { getItem, setItem } from 'next-basics';
|
||||
import { getItem, setItem } from 'lib/storage';
|
||||
|
||||
export const initialState = {
|
||||
showCharts: true,
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ 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 'next-basics';
|
||||
import { getItem } from 'lib/storage';
|
||||
|
||||
const initialState = {
|
||||
current: CURRENT_VERSION,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue