more bug fixes
This commit is contained in:
parent
3693c36a20
commit
cfedb4a860
4 changed files with 4 additions and 6 deletions
|
@ -45,9 +45,8 @@ const App = React.createClass({
|
||||||
const searchQuery = (currentPage == 'discover' && searchTerm ? searchTerm : '')
|
const searchQuery = (currentPage == 'discover' && searchTerm ? searchTerm : '')
|
||||||
|
|
||||||
return <div id="window" className={ drawerOpen ? 'drawer-open' : 'drawer-closed' }>
|
return <div id="window" className={ drawerOpen ? 'drawer-open' : 'drawer-closed' }>
|
||||||
<Drawer onCloseDrawer={closeDrawer} viewingPage={currentPage} />
|
|
||||||
<div id="main-content" className={ headerLinks ? 'with-sub-nav' : 'no-sub-nav' }>
|
|
||||||
<Header onOpenDrawer={openDrawer} initialQuery={searchQuery} onSearch={search} links={headerLinks} />
|
<Header onOpenDrawer={openDrawer} initialQuery={searchQuery} onSearch={search} links={headerLinks} />
|
||||||
|
<div id="main-content">
|
||||||
<Router />
|
<Router />
|
||||||
</div>
|
</div>
|
||||||
{modal == 'upgrade' && <UpgradeModal />}
|
{modal == 'upgrade' && <UpgradeModal />}
|
||||||
|
|
|
@ -31,7 +31,6 @@ const Router = (props) => {
|
||||||
'downloaded': <FileListDownloaded {...props} />,
|
'downloaded': <FileListDownloaded {...props} />,
|
||||||
'published': <FileListPublished {...props} />,
|
'published': <FileListPublished {...props} />,
|
||||||
'start': <StartPage {...props} />,
|
'start': <StartPage {...props} />,
|
||||||
'claim': <ClaimCodePage {...props} />,
|
|
||||||
'wallet': <WalletPage {...props} />,
|
'wallet': <WalletPage {...props} />,
|
||||||
'send': <WalletPage {...props} />,
|
'send': <WalletPage {...props} />,
|
||||||
'receive': <WalletPage {...props} />,
|
'receive': <WalletPage {...props} />,
|
||||||
|
|
|
@ -10,7 +10,7 @@ const lbryio = {
|
||||||
enabled: false
|
enabled: false
|
||||||
};
|
};
|
||||||
|
|
||||||
const CONNECTION_STRING = process.env.LBRY_APP_API_URL ? process.env.LBRY_APP_API_URL : 'https://api.lbry.io/';
|
const CONNECTION_STRING = 'https://api.lbry.io/';
|
||||||
const EXCHANGE_RATE_TIMEOUT = 20 * 60 * 1000;
|
const EXCHANGE_RATE_TIMEOUT = 20 * 60 * 1000;
|
||||||
|
|
||||||
lbryio.getExchangeRates = function() {
|
lbryio.getExchangeRates = function() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue