Skip to content

Commit

Permalink
feat(gh-pages): update deployment paths
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenvechain committed Nov 2, 2023
1 parent 45a28b3 commit 44df174
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion apps/sample-react-app/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,13 @@ export const App = (): JSX.Element => {
>
<NavBar />
<StyledContainer>
<BrowserRouter>
<BrowserRouter
basename={
process.env.NODE_ENV === 'production'
? '/vechain-dapp-kit/react'
: '/'
}
>
<Routes>
<Route element={<Homepage />} path="/" />
</Routes>
Expand Down

0 comments on commit 44df174

Please sign in to comment.