Skip to content

Commit

Permalink
Merge pull request #447 from LiskHQ/466-fix-main-menu-in-ie
Browse files Browse the repository at this point in the history
Fix main menu to show in IE 11 - Closes #446
  • Loading branch information
slaweet authored Feb 20, 2018
2 parents bcf1d59 + ab9ffa7 commit 9f384aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/components/app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ import routes from '../../constants/routes';

class App extends React.Component {
markAsLoaded() {
this.main.classList.add(styles.loaded, 'appLoaded');
this.main.classList.add(styles.loaded);
this.main.classList.add('appLoaded');
}

render() {
Expand Down
4 changes: 2 additions & 2 deletions src/store/middlewares/offline.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ describe('Offline middleware', () => {

middleware(store)(next)(action);
expect(store.dispatch).to.have.been.calledWith(errorToastDisplayed({
label: `Failed to connect to node ${peers.data.currentPeer}:${peers.data.port}`,
label: 'Failed to connect to node',
}));
});

Expand All @@ -74,7 +74,7 @@ describe('Offline middleware', () => {
code: 'EPARSE',
};

const expectedResult = `Failed to connect to node ${peers.data.currentPeer}:${peers.data.port} Make sure that you are using the latest version of Lisk Hub.`;
const expectedResult = 'Failed to connect to node Make sure that you are using the latest version of Lisk Hub.';
middleware(store)(next)(action);
expect(store.dispatch).to.have.been.calledWith(errorToastDisplayed({
label: expectedResult,
Expand Down

0 comments on commit 9f384aa

Please sign in to comment.