Skip to content

Commit

Permalink
feat(protocol-designer): use hash router instead of browser router (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
shlokamin authored Sep 13, 2024
1 parent 6c48e3d commit 69db99f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions protocol-designer/src/ProtocolEditor.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react'
import cx from 'classnames'
import { DndProvider } from 'react-dnd'
import { BrowserRouter } from 'react-router-dom'
import { HashRouter } from 'react-router-dom'
import { useSelector } from 'react-redux'
import { HTML5Backend } from 'react-dnd-html5-backend'
import { DIRECTION_COLUMN, Flex } from '@opentrons/components'
Expand Down Expand Up @@ -56,9 +56,9 @@ function ProtocolEditorComponent(): JSX.Element {
{enableRedesign ? (
<Flex flexDirection={DIRECTION_COLUMN}>
{prereleaseModeEnabled ? <Bouncing /> : null}
<BrowserRouter {...browserRouterProps}>
<HashRouter {...browserRouterProps}>
<ProtocolRoutes />
</BrowserRouter>
</HashRouter>
</Flex>
) : (
<div className="container">
Expand Down

0 comments on commit 69db99f

Please sign in to comment.