Reformatted files with biome.

This commit is contained in:
Mike Cao
2025-11-22 22:42:42 -08:00
parent d51f0641a6
commit fa8d8055df
558 changed files with 2108 additions and 2379 deletions

View File

@@ -8,8 +8,8 @@ import {
THEME_CONFIG,
TIMEZONE_CONFIG,
} from '@/lib/constants';
import { getItem } from '@/lib/storage';
import { getTimezone } from '@/lib/date';
import { getItem } from '@/lib/storage';
const initialState = {
locale: getItem(LOCALE_CONFIG) || process.env.defaultLocale || DEFAULT_LOCALE,

View File

@@ -1,7 +1,7 @@
import { create } from 'zustand';
import { produce } from 'immer';
import semver from 'semver';
import { CURRENT_VERSION, VERSION_CHECK, UPDATES_URL } from '@/lib/constants';
import { create } from 'zustand';
import { CURRENT_VERSION, UPDATES_URL, VERSION_CHECK } from '@/lib/constants';
import { getItem } from '@/lib/storage';
const initialState = {

View File

@@ -1,6 +1,6 @@
import { create } from 'zustand';
import { produce } from 'immer';
import { DateRange } from '@/lib/types';
import { create } from 'zustand';
import type { DateRange } from '@/lib/types';
const store = create(() => ({}));