Skip to content

Commit

Permalink
Update index.js in designer (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkyriakou23 committed Nov 21, 2023
1 parent b410688 commit a8d3aea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions designer/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ import * as serviceWorker from './serviceWorker';
const store = initializeStore();
ReactDOM.render(
<Provider store={store}>
<Router>
<Router basename={process.env.PUBLIC_URL}>
<Route exact path='/' component={Main}/>
<Route path='/create' component={CreateStudy}/>
<Route path={`${process.env.PUBLIC_URL}/study/:id`}
<Route path={'/study/:id'}
component={StudyPage}/>
</Router>
</Provider>, document.getElementById('root'));
Expand Down

0 comments on commit a8d3aea

Please sign in to comment.