From d3ee7faaffd9b4621d3e8a836ee1798407528ad2 Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Fri, 21 Feb 2020 14:27:54 -0500 Subject: [PATCH] fix import statement and bump @lbry/components --- package.json | 2 +- ui/component/router/view.jsx | 4 ++++ yarn.lock | 8 ++++---- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 562d2243f..68dd26628 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/ui/component/router/view.jsx b/ui/component/router/view.jsx index 562b7ef33..8300364c8 100644 --- a/ui/component/router/view.jsx +++ b/ui/component/router/view.jsx @@ -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) { /> + {/* @if TARGET='app' */} + {/* @endif */} diff --git a/yarn.lock b/yarn.lock index d83c2d4d6..ecb14be21 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"