From f4c359e1dec84427700ac0c93de79df36d9ba955 Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Tue, 1 Oct 2024 12:04:15 -0600 Subject: [PATCH] fixup! WIP SSR --- src/components/AppBar/index.css | 5 +++++ src/components/AppBar/index.tsx | 13 +++---------- 2 files changed, 8 insertions(+), 10 deletions(-) create mode 100644 src/components/AppBar/index.css diff --git a/src/components/AppBar/index.css b/src/components/AppBar/index.css new file mode 100644 index 0000000..e0e8f31 --- /dev/null +++ b/src/components/AppBar/index.css @@ -0,0 +1,5 @@ +#appbar { + #title { + flex-grow: 1; + } +} \ No newline at end of file diff --git a/src/components/AppBar/index.tsx b/src/components/AppBar/index.tsx index cd10c18..34e3158 100644 --- a/src/components/AppBar/index.tsx +++ b/src/components/AppBar/index.tsx @@ -6,14 +6,7 @@ import Typography from "@mui/material/Typography"; import Login from "../Login"; - -const PREFIX = 'index'; - -const classes = { - appBar: `${PREFIX}-appBar`, - title: `${PREFIX}-title`, - toolbarIcon: `${PREFIX}-toolbarIcon` -}; +import './index.css'; type AppBarProps = { setDrawerOpen: Function, @@ -21,7 +14,7 @@ type AppBarProps = { export default function AppBar(props: AppBarProps) { return ( - +