mirror of
https://github.com/stack-auth/stack.git
synced 2026-07-20 21:29:36 +08:00
Fix lint errors
This commit is contained in:
@@ -19,10 +19,10 @@ const CurrentUIContext = React.createContext<{
|
||||
const ThemeContext = React.createContext<{
|
||||
theme: 'dark' | 'light',
|
||||
setTheme: (theme: 'dark' | 'light') => void,
|
||||
}>({
|
||||
theme: 'light',
|
||||
setTheme: () => {},
|
||||
});
|
||||
}>({
|
||||
theme: 'light',
|
||||
setTheme: () => {},
|
||||
});
|
||||
|
||||
export function useCurrentUI() {
|
||||
return React.useContext(CurrentUIContext);
|
||||
@@ -106,4 +106,4 @@ export default function Provider({ children }) {
|
||||
</UIProvider>
|
||||
</>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user