fix import statement and bump @lbry/components

This commit is contained in:
Sean Yesmunt 2020-02-21 14:27:54 -05:00
parent 027d37b72f
commit d3ee7faaff
3 changed files with 9 additions and 5 deletions

View file

@ -69,7 +69,7 @@
"@babel/register": "^7.0.0",
"@exponent/electron-cookies": "^2.0.0",
"@hot-loader/react-dom": "^16.8",
"@lbry/components": "^3.0.9",
"@lbry/components": "^3.0.10",
"@reach/menu-button": "^0.1.18",
"@reach/rect": "^0.2.1",
"@reach/tabs": "^0.1.5",

View file

@ -4,7 +4,9 @@ import React, { useEffect } from 'react';
import { Route, Redirect, Switch, withRouter } from 'react-router-dom';
import SettingsPage from 'page/settings';
import HelpPage from 'page/help';
// @if TARGET='app'
import BackupPage from 'page/backup';
// @endif
import ReportPage from 'page/report';
import ShowPage from 'page/show';
import PublishPage from 'page/publish';
@ -145,7 +147,9 @@ function AppRouter(props: Props) {
/>
<Route path={`/$/${PAGES.CHANNELS_FOLLOWING_DISCOVER}`} exact component={ChannelsFollowingDiscoverPage} />
<Route path={`/$/${PAGES.HELP}`} exact component={HelpPage} />
{/* @if TARGET='app' */}
<Route path={`/$/${PAGES.BACKUP}`} exact component={BackupPage} />
{/* @endif */}
<Route path={`/$/${PAGES.AUTH_VERIFY}`} exact component={SignInVerifyPage} />
<Route path={`/$/${PAGES.SEARCH}`} exact component={SearchPage} />
<Route path={`/$/${PAGES.TOP}`} exact component={TopPage} />

View file

@ -1033,10 +1033,10 @@
prop-types "^15.6.2"
scheduler "^0.15.0"
"@lbry/components@^3.0.9":
version "3.0.9"
resolved "https://registry.yarnpkg.com/@lbry/components/-/components-3.0.9.tgz#ce516be752bc58928763f07a1d5c6d5b3304daee"
integrity sha512-F346XDI66V4hDwninMWaqw7ZB+nS5yutuQ0Zm9zR5fO9SzoSNohtDQXNHeKxnH4wRL70O1isol2QZaqOsbcJ9Q==
"@lbry/components@^3.0.10":
version "3.0.10"
resolved "https://registry.yarnpkg.com/@lbry/components/-/components-3.0.10.tgz#16e03c42f95274743c6ddcec1d541ea73d54e745"
integrity sha512-4bfINx7cN03IYRag5NxVkP04SuxsO1cQtey8J+z7ykF+MFbkhEgnZZt4kQmaaL3oK1GuNEpjbXZdntc2Eikyfg==
"@mapbox/hast-util-table-cell-style@^0.1.3":
version "0.1.3"