From 5e5560b558ff818546c94135bebf334be770c920 Mon Sep 17 00:00:00 2001
From: Michael Hunteman <michael@huntm.net>
Date: Sat, 9 Mar 2024 15:13:45 -0800
Subject: Add carousel

---
 src/ThemeContextProvider.tsx | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

(limited to 'src/ThemeContextProvider.tsx')

diff --git a/src/ThemeContextProvider.tsx b/src/ThemeContextProvider.tsx
index 63f4e81..dc3cb89 100644
--- a/src/ThemeContextProvider.tsx
+++ b/src/ThemeContextProvider.tsx
@@ -4,14 +4,14 @@ import useMediaQuery from '@mui/material/useMediaQuery';
 
 type ThemeContextType = {
   toggleColorMode: () => void;
-}
+};
 
 type ThemeProviderProps = {
   children: ReactNode;
-}
+};
 
 export const ThemeContext = createContext<ThemeContextType>({
-  toggleColorMode: () => {}
+  toggleColorMode: () => {},
 });
 
 function ThemeContextProvider({ children }: ThemeProviderProps) {
@@ -29,16 +29,14 @@ function ThemeContextProvider({ children }: ThemeProviderProps) {
       createTheme({
         palette: {
           mode,
-        }
+        },
       }),
     [mode]
   );
 
   return (
     <ThemeContext.Provider value={{ toggleColorMode }}>
-      <ThemeProvider theme={theme}>
-        {children}
-      </ThemeProvider>
+      <ThemeProvider theme={theme}>{children}</ThemeProvider>
     </ThemeContext.Provider>
   );
 }
-- 
cgit v1.2.3

