diff --git a/static/app-strings.json b/static/app-strings.json index 8cbebaa0f..10998c928 100644 --- a/static/app-strings.json +++ b/static/app-strings.json @@ -1557,6 +1557,7 @@ "%lbc_amount% currently in use": "%lbc_amount% currently in use", "View less": "View less", "Your total balance.": "Your total balance.", + "Immediately spendable": "Immediately spendable", "%lbc_amount% immediately spendable": "%lbc_amount% immediately spendable", "%lbc_amount% contributing to content": "%lbc_amount% contributing to content", "...earned from others": "...earned from others", diff --git a/ui/component/common/icon.jsx b/ui/component/common/icon.jsx index ea1e17c0d..606f91295 100644 --- a/ui/component/common/icon.jsx +++ b/ui/component/common/icon.jsx @@ -1,7 +1,6 @@ // @flow import * as ICONS from 'constants/icons'; import React from 'react'; -import Tooltip from 'component/common/tooltip'; import classnames from 'classnames'; import { icons } from './icon-custom'; @@ -70,6 +69,7 @@ class IconComponent extends React.PureComponent { const component = ( { /> ); - const inner = sectionIcon ? {component} : component; - - return tooltipText ? {inner} : inner; + return sectionIcon ? {component} : component; } } diff --git a/ui/component/fileRenderFloating/view.jsx b/ui/component/fileRenderFloating/view.jsx index 69cf81d8e..3ce142df2 100644 --- a/ui/component/fileRenderFloating/view.jsx +++ b/ui/component/fileRenderFloating/view.jsx @@ -10,7 +10,6 @@ import UriIndicator from 'component/uriIndicator'; import usePersistedState from 'effects/use-persisted-state'; import { PRIMARY_PLAYER_WRAPPER_CLASS } from 'page/file/view'; import Draggable from 'react-draggable'; -import Tooltip from 'component/common/tooltip'; import { onFullscreenChange } from 'util/full-screen'; import { useIsMobile } from 'effects/use-screensize'; import debounce from 'util/debounce'; @@ -270,14 +269,13 @@ export default function FileRenderFloating(props: Props) { })} > {isFloating && ( - - ; } else { - const Wrapper = addTooltip - ? ({ children }) => ( - }> - {children} - - ) - : 'span'; return ( ); }