Skip to content

Commit

Permalink
tweak: integration polish after merging updates to DrawerWithState
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahpurcell committed Oct 10, 2024
1 parent 7e94d7e commit 27be4ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/src/components/detours/diversionPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import { DetourStatus, timestampLabelFromStatus } from "../detoursTable"
import { ActivateDetour } from "./activateDetourModal"
import { DeactivateDetourModal } from "./deactivateDetourModal"
import useScreenSize from "../../hooks/useScreenSize"
import Drawer from "../drawer"
import { DrawerWithState } from "../drawer"
import { isMobile } from "../../util/screenSize"

const displayFieldsFromRouteAndPattern = (
Expand Down Expand Up @@ -443,7 +443,7 @@ export const DiversionPage = ({
])}
>
{isMobile(displayType) ? (
<Drawer>{detourPanel()}</Drawer>
<DrawerWithState>{detourPanel()}</DrawerWithState>
) : (
detourPanel()
)}
Expand Down

0 comments on commit 27be4ba

Please sign in to comment.