Skip to content

Commit

Permalink
version 0.9 release
Browse files Browse the repository at this point in the history
  • Loading branch information
santisiri committed Oct 24, 2020
1 parent 8ead7a2 commit 21902bd
Show file tree
Hide file tree
Showing 4 changed files with 114 additions and 1,238 deletions.
1 change: 0 additions & 1 deletion src/components/Account/Account.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { Link } from 'react-router-dom';

import { shortenCryptoName } from 'utils/strings';
import Search, { includeInSearch } from 'components/Search/Search';
import parser from 'html-react-parser';

import i18n from 'i18n';
import { config } from 'config'
Expand Down
1 change: 0 additions & 1 deletion src/components/DAO/DAO.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import { findLast } from 'lodash';
import { gui } from 'lib/const';
import { shortenCryptoName } from 'utils/strings';
import Search, { includeInSearch } from 'components/Search/Search';
import parser from 'html-react-parser';

import i18n from 'i18n';
import { config } from 'config'
Expand Down
4 changes: 2 additions & 2 deletions src/components/Dapp/Dapp.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ const INITIAL_STATE = {
showModal: false,
pendingRequest: false,
result: null,
mobile: (window.innerWidth < 768)
};

const routes = [
Expand Down Expand Up @@ -137,7 +138,6 @@ export default class Dapp extends Component {
connected: true,
address,
networkId,
mobile: (window.innerWidth < 768)
});
}

Expand Down Expand Up @@ -198,7 +198,7 @@ export default class Dapp extends Component {
<Browser address={this.state.address} walletConnect={this.onConnect} walletReset={this.reset} />
<Layout address={this.state.address} />
</div>
{(this.state.mobile) ?
{(this.state.mobile || (window.innerWidth < 768)) ?
<Layout address={this.state.address} mobileMenu={true} />
:
null
Expand Down
Loading

0 comments on commit 21902bd

Please sign in to comment.