From a9333dc90f56ae4e19fabff4822ac1ffba7c6205 Mon Sep 17 00:00:00 2001
From: Michael Hunteman <michael@huntm.net>
Date: Thu, 7 Mar 2024 16:14:25 -0800
Subject: Remove unneeded MUI components

---
 src/components/Desktop.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/components/Desktop.tsx')

diff --git a/src/components/Desktop.tsx b/src/components/Desktop.tsx
index 35ddc5e..34a0621 100644
--- a/src/components/Desktop.tsx
+++ b/src/components/Desktop.tsx
@@ -1,6 +1,6 @@
 import { useContext } from 'react';
 import { Link } from "react-router-dom";
-import { Stack, Button, IconButton } from "@mui/material";
+import { Button, IconButton } from "@mui/material";
 import DarkModeIcon from '@mui/icons-material/DarkMode';
 import LightModeIcon from '@mui/icons-material/LightMode';
 import { useTheme } from '@mui/material/styles';
@@ -12,7 +12,7 @@ function Desktop() {
   const { toggleColorMode } = useContext(ThemeContext);
 
   return (
-    <Stack direction="row" sx={{ ml: "auto" }}>
+    <div style={{ marginLeft: 'auto' }}>
       {pages.map(page => (
         <Button color="inherit" component={Link} to={page?.to} key={page?.name}>
           {page?.name}
@@ -21,7 +21,7 @@ function Desktop() {
       <IconButton color="inherit" onClick={toggleColorMode}>
         {theme.palette.mode === 'dark' ? <DarkModeIcon /> : <LightModeIcon />}
       </IconButton>
-    </Stack>
+    </div>
   );
 }
 
-- 
cgit v1.2.3

