Skip to content

Commit

Permalink
Switch to HashRouter
Browse files Browse the repository at this point in the history
  • Loading branch information
lassebje committed Oct 23, 2024
1 parent 6d8c407 commit 4443cff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { createContext, useEffect, useState } from 'react'
import { BrowserRouter } from 'react-router-dom'
import { HashRouter } from 'react-router-dom'
import { createGlobalStyle } from 'styled-components'
import { backgroundColorDefault } from './layout/Colors'
import Portal from './Portal'
Expand Down Expand Up @@ -44,10 +44,10 @@ const App = () => {
}
return (
<AppCtx.Provider value={app}>
<BrowserRouter basename='/blues-metocean-portal'>
<HashRouter>
<GlobalStyle />
<Portal />
</BrowserRouter>
</HashRouter >
</AppCtx.Provider>
)
}
Expand Down

0 comments on commit 4443cff

Please sign in to comment.