diff --git a/.gitignore b/.gitignore index f57e421ea..2bacc7198 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ /static/daemon/lbrynet* /static/locales yarn-error.log +/build/daemon* diff --git a/src/renderer/component/rewardLink/view.jsx b/src/renderer/component/rewardLink/view.jsx index 535b7c994..ece5b669a 100644 --- a/src/renderer/component/rewardLink/view.jsx +++ b/src/renderer/component/rewardLink/view.jsx @@ -12,17 +12,18 @@ type Props = { label: ?string, errorMessage: ?string, reward: Reward, + button: ?boolean, clearError: Reward => void, claimReward: Reward => void, }; const RewardLink = (props: Props) => { - const { reward, claimReward, clearError, errorMessage, label, isPending } = props; + const { reward, claimReward, clearError, errorMessage, label, isPending, button } = props; return !reward ? null : (
diff --git a/src/renderer/component/sideBar/view.jsx b/src/renderer/component/sideBar/view.jsx index 10b87ef61..226a051ef 100644 --- a/src/renderer/component/sideBar/view.jsx +++ b/src/renderer/component/sideBar/view.jsx @@ -2,7 +2,6 @@ import * as React from 'react'; import Button from 'component/button'; import classnames from 'classnames'; -import { CSSTransitionGroup } from 'react-transition-group'; import * as icons from 'constants/icons'; import * as NOTIFICATION_TYPES from 'constants/notification_types'; @@ -20,11 +19,13 @@ type Props = { forward: any => void, isBackDisabled: boolean, isForwardDisabled: boolean, - isHome: boolean, navLinks: { primary: Array, secondary: Array, }, + notifications: { + type: string, + }, }; const SideBar = (props: Props) => { @@ -100,33 +101,30 @@ const SideBar = (props: Props) => { >