Skip to content

Commit

Permalink
removed initShared in navbar.
Browse files Browse the repository at this point in the history
  • Loading branch information
SrikanthSoparla committed Dec 3, 2024
1 parent 6220ced commit e62cae8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/containers/NavBar/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import { fetchProposalDetails, fetchProposalTally, fetchVoteDetails, getProposal
import { Button } from '@material-ui/core';
import ConnectDialog from './ConnectDialog';
import withRouter from '../../components/WithRouter';
import { init as initShared } from '@namada/shared/dist/init-inline';
// import { init as initShared } from '@namada/shared/dist/init-inline';
// import { init as initShared } from '../../private_modules/namada/shared/init-inline';

class NavBar extends Component {
Expand All @@ -60,9 +60,9 @@ class NavBar extends Component {
}

componentDidMount () {
(async () => {
await initShared();
})();
// (async () => {
// await initShared();
// })();
if (localStorage.getItem('of_co_address') && (localStorage.getItem('of_co_wallet') === 'cosmostation')) {
setTimeout(() => {
this.handleCosmoStation(true);
Expand Down

0 comments on commit e62cae8

Please sign in to comment.