Skip to content

Commit

Permalink
Revert "revert"
Browse files Browse the repository at this point in the history
This reverts commit c519f8b.
  • Loading branch information
incognitojam committed Feb 3, 2025
1 parent ee23124 commit e802253
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/pages/dashboard/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import storage from '~/utils/storage'
import Button from '~/components/material/Button'
import Drawer, { DrawerToggleButton, useDrawerContext } from '~/components/material/Drawer'
import Icon from '~/components/material/Icon'
import IconButton from '~/components/material/IconButton'
import TopAppBar from '~/components/material/TopAppBar'

import DeviceList from './components/DeviceList'
Expand All @@ -26,14 +25,11 @@ interface DashboardDrawerProps {
}

const DashboardDrawer: VoidComponent<DashboardDrawerProps> = (props) => {
const { modal, setOpen } = useDrawerContext()
const { setOpen } = useDrawerContext()
const onClose = () => setOpen(false)
return (
<>
<TopAppBar
component="h1"
leading={<Show when={modal()}><IconButton onClick={onClose}>arrow_back</IconButton></Show>}
>
<TopAppBar component="h1">
comma connect
</TopAppBar>
<h2 class="mx-4 mb-2 text-label-sm uppercase">
Expand Down

0 comments on commit e802253

Please sign in to comment.