💄 Prettier codebase

This commit is contained in:
ajnart
2023-10-25 15:29:45 +02:00
parent 01ab01d159
commit 5ab0e5207b
99 changed files with 375 additions and 358 deletions

View File

@@ -1,6 +1,6 @@
import { useEffect } from 'react';
import { ConfigType } from '~/types/config';
import { useConfigContext } from './provider';
import { useConfigStore } from './store';

View File

@@ -1,8 +1,8 @@
import { ReactNode, createContext, useContext, useEffect, useState } from 'react';
import { shallow } from 'zustand/shallow';
import { useColorTheme } from '~/tools/color';
import { ConfigType } from '~/types/config';
import { useConfigStore } from './store';
export type ConfigContextType = {

View File

@@ -1,7 +1,6 @@
import { createWithEqualityFn } from 'zustand/traditional';
import { trcpProxyClient } from '~/utils/api';
import { ConfigType } from '~/types/config';
import { trcpProxyClient } from '~/utils/api';
export const useConfigStore = createWithEqualityFn<UseConfigStoreType>(
(set, get) => ({