Skip to content

Commit a8fe65a

Browse files
committed
lint files
1 parent 898ca8f commit a8fe65a

File tree

8 files changed

+8
-9
lines changed

8 files changed

+8
-9
lines changed

src/components/Modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/** biome-ignore-all lint/a11y: nahh need for a11y now */
22

33
import { HeaderButtons } from '@/components/ui';
4+
import appStore from '@/store/appStore.ts';
45
import cx from '@cx';
56
import { type FC, type ReactNode, useEffect } from 'react';
67
import ReactDOM from 'react-dom';
78
import { useStore } from 'zustand';
8-
import appStore from '../store/appStore.ts';
99

1010
type ModalProps = {
1111
isOpen: boolean;

src/components/lyrics/type/LineLyrics.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
import { Interlude } from '@/components/ui';
22
import useTrackPosition from '@/hooks/useTrackPosition.ts';
33
import appStore from '@/store/appStore.ts';
4+
import tempStore from '@/store/tempStore.ts';
45
import type { LineData } from '@/types/lyrics.ts';
56
import seekTo from '@/utils/player/seekTo.ts';
67
import { SIMPLEBAR_CLASSNAMES } from '@constants';
78
import cx from '@cx';
89
import { useCallback, useEffect, useMemo, useRef } from 'react';
910
import SimpleBar from 'simplebar-react';
1011
import { useStore } from 'zustand';
11-
import tempStore from '../../../store/tempStore.ts';
1212

1313
type LineLyricsProps = { data: LineData };
1414

src/components/lyrics/type/SyllableLyrics.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,14 @@ import '@/styles/simplebar.css';
33
import { Interlude } from '@/components/ui';
44
import useTrackPosition from '@/hooks/useTrackPosition.ts';
55
import appStore from '@/store/appStore.ts';
6+
import tempStore from '@/store/tempStore.ts';
67
import type { SyllableData, VocalPart as VocalPartType } from '@/types/lyrics.ts';
78
import seekTo from '@/utils/player/seekTo.ts';
89
import { SIMPLEBAR_CLASSNAMES } from '@constants';
910
import cx from '@cx';
1011
import { useCallback, useEffect, useMemo, useRef } from 'react';
1112
import SimpleBar from 'simplebar-react';
1213
import { useStore } from 'zustand';
13-
import tempStore from '../../../store/tempStore.ts';
1414

1515
type VocalPartProps = {
1616
part: VocalPartType;

src/components/settings/helper/getBackgroundSettings.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
1+
import { BackgroundStateSchema } from '@/schemas/appStoreSchema.ts';
12
import CSSFilterSchema from '@/schemas/cssFilterSchema.ts';
23
import type appStore from '@/store/appStore.ts';
34
import type { SectionProps } from '@/types/settingSchema.ts';
45
import { DEFAULT_APP_STATE } from '@constants';
5-
import z from 'zod';
6-
import { BackgroundStateSchema } from '../../../schemas/appStoreSchema.ts';
76

87
export const getBackgroundSettings = (
98
state: ReturnType<typeof appStore.getState>

src/components/settings/helper/getInterfaceSettings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1+
import { LyricsStateSchema } from '@/schemas/appStoreSchema.ts';
12
import type appStore from '@/store/appStore.ts';
23
import type { SectionProps } from '@/types/settingSchema.ts';
3-
import { LyricsStateSchema } from '@/schemas/appStoreSchema.ts';
44

55
export const getInterfaceSettings = (state: ReturnType<typeof appStore.getState>): SectionProps =>
66
({

src/hooks/useTrackPosition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
import appStore from '@/store/appStore.ts';
12
import getProgress from '@/utils/player/getProgress.ts';
23
import { useEffect, useRef } from 'react';
34
import { useStore } from 'zustand';
4-
import appStore from '@/store/appStore.ts';
55

66
export default function useTrackProgress() {
77
const progress = useRef(-1);

src/schemas/appStoreSchema.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import CSSFilterSchema from '@/schemas/cssFilterSchema.ts';
2+
import { boundedNumber } from '@/utils/schema.ts';
23
import z from 'zod';
3-
import { boundedNumber } from '../utils/schema.ts';
44

55
export const ColorStateSchema = z.object({
66
mode: z.enum(['default', 'dynamic', 'custom']),

src/utils/settings/addSettings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import Settings from '@/components/settings/Settings.tsx';
22
import { showModal } from '@/utils/modal/showModal.tsx';
3-
import { waitForGlobal } from '@utils/dom';
43
import { Icons } from '@constants';
4+
import { waitForGlobal } from '@utils/dom';
55

66
let settingsEntry: Spicetify.Menu.Item | Spicetify.Topbar.Button | null = null;
77

0 commit comments

Comments
 (0)