fix: apply fix from eslint

This commit is contained in:
JellyBrick
2025-07-10 14:14:43 +09:00
parent 2cfc38757a
commit 1da83ff27c
29 changed files with 1654 additions and 168 deletions

View File

@ -37,10 +37,13 @@ type LyricsStore = {
};
const initialData = () =>
providerNames.reduce((acc, name) => {
acc[name] = { state: 'fetching', data: null, error: null };
return acc;
}, {} as LyricsStore['lyrics']);
providerNames.reduce(
(acc, name) => {
acc[name] = { state: 'fetching', data: null, error: null };
return acc;
},
{} as LyricsStore['lyrics'],
);
export const [lyricsStore, setLyricsStore] = createStore<LyricsStore>({
provider: providerNames[0],