Skip to content

Commit

Permalink
Merge pull request #29 from aquiladev/lookup-token-id
Browse files Browse the repository at this point in the history
use HashRouter
  • Loading branch information
aquiladev authored Oct 14, 2021
2 parents cec2d60 + ef1d15f commit 488f923
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/DefaultApp.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useEffect, useState } from 'react';
import { BrowserRouter as Router, Switch, Route } from 'react-router-dom';
import { HashRouter, Switch, Route } from 'react-router-dom';
import { makeStyles, createMuiTheme, ThemeProvider } from '@material-ui/core/styles';
import { Web3ReactProvider, useWeb3React, UnsupportedChainIdError } from '@web3-react/core';
import {
Expand Down Expand Up @@ -106,7 +106,7 @@ function DefaultApp() {

return (
<ThemeProvider theme={theme}>
<Router>
<HashRouter>
<div className={classes.root}>
<Header active={active} account={account} />
<Container maxWidth='lg' className={classes.content}>
Expand Down Expand Up @@ -134,7 +134,7 @@ function DefaultApp() {
</Container>
<Footer />
</div>
</Router>
</HashRouter>
</ThemeProvider>
);
}
Expand Down

0 comments on commit 488f923

Please sign in to comment.