mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-17 14:27:02 +08:00
chore: unify version (#1123)
This commit is contained in:
@@ -76,7 +76,6 @@ export const useConfirm: UseBoundStore<Store> = ((
|
||||
) => {
|
||||
const api = useConfirmApi();
|
||||
return useStore(api, selector, equals);
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
}) as any;
|
||||
|
||||
function Records() {
|
||||
|
||||
@@ -30,7 +30,7 @@ import useCurrentPageMeta from '@/hooks/use-current-page-meta';
|
||||
|
||||
export const ThemeContext = createContext<ThemeProviderValue>({
|
||||
mode: 'light',
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
||||
|
||||
changeMode: () => {},
|
||||
theme: getLightTheme('page'),
|
||||
});
|
||||
@@ -124,10 +124,7 @@ export const ThemeProvider = ({
|
||||
<Global
|
||||
styles={css`
|
||||
:root {
|
||||
${
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
globalThemeVariables(mode, themeStyle) as any
|
||||
}
|
||||
${globalThemeVariables(mode, themeStyle) as any}
|
||||
}
|
||||
`}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user