Fix lint errors

This commit is contained in:
Stan Wohlwend
2024-06-06 19:23:20 +02:00
parent 55776dcff4
commit ca7da8dff7
4 changed files with 34 additions and 20 deletions
+5 -5
View File
@@ -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>
</>
);
}
}