Sync language

This commit is contained in:
Thomas Zarebczan 2021-10-08 16:21:50 -04:00
parent 0a89a8a2fa
commit fc657d98d2
No known key found for this signature in database
GPG key ID: D505010BDB4364BC
3 changed files with 3 additions and 15 deletions

View file

@ -157,7 +157,7 @@
"imagesloaded": "^4.1.4", "imagesloaded": "^4.1.4",
"json-loader": "^0.5.4", "json-loader": "^0.5.4",
"lbry-format": "https://github.com/lbryio/lbry-format.git", "lbry-format": "https://github.com/lbryio/lbry-format.git",
"lbry-redux": "lbryio/lbry-redux#32b578707116d45f5b51b7ab523d200e75668676", "lbry-redux": "lbryio/lbry-redux#0f930c4a7bfc7f164e6b3c6044050c1bc73f6ab8",
"lbryinc": "lbryio/lbryinc#0b4e41ef90d6347819dd3453f2f9398a5c1b4f36", "lbryinc": "lbryio/lbryinc#0b4e41ef90d6347819dd3453f2f9398a5c1b4f36",
"lint-staged": "^7.0.2", "lint-staged": "^7.0.2",
"localforage": "^1.7.1", "localforage": "^1.7.1",

View file

@ -12,7 +12,6 @@ import Icon from 'component/common/icon';
import I18nMessage from 'component/i18nMessage'; import I18nMessage from 'component/i18nMessage';
import Button from 'component/button'; import Button from 'component/button';
import FileDescription from 'component/fileDescription'; import FileDescription from 'component/fileDescription';
import usePersistedState from 'effects/use-persisted-state';
import { ENABLE_MATURE } from 'config'; import { ENABLE_MATURE } from 'config';
type Props = { type Props = {
@ -41,7 +40,6 @@ function FileTitleSection(props: Props) {
channelClaimId, channelClaimId,
fetchSubCount, fetchSubCount,
} = props; } = props;
const [hasAcknowledgedSec, setHasAcknowledgedSec] = usePersistedState('sec-nag', false);
React.useEffect(() => { React.useEffect(() => {
if (channelClaimId) { if (channelClaimId) {
@ -51,16 +49,6 @@ function FileTitleSection(props: Props) {
return ( return (
<> <>
{!hasAcknowledgedSec && (
<div className="notice-message">
<Button button="close" icon={ICONS.REMOVE} onClick={() => setHasAcknowledgedSec(true)} />
<h1 className="section__title">{__('Help LBRY Save Crypto')}</h1>
<p className="section__subtitle">
{__('The US government is attempting to destroy the cryptocurrency industry. Can you help?')}{' '}
<Button label={__('Learn more and sign petition')} button="link" href="https://helplbrysavecrypto.com" />
</p>
</div>
)}
<Card <Card
isPageTitle isPageTitle
noTitleWrap noTitleWrap

View file

@ -10173,9 +10173,9 @@ lazy-val@^1.0.4:
yargs "^13.2.2" yargs "^13.2.2"
zstd-codec "^0.1.1" zstd-codec "^0.1.1"
lbry-redux@lbryio/lbry-redux#32b578707116d45f5b51b7ab523d200e75668676: lbry-redux@lbryio/lbry-redux#0f930c4a7bfc7f164e6b3c6044050c1bc73f6ab8:
version "0.0.1" version "0.0.1"
resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/32b578707116d45f5b51b7ab523d200e75668676" resolved "https://codeload.github.com/lbryio/lbry-redux/tar.gz/0f930c4a7bfc7f164e6b3c6044050c1bc73f6ab8"
dependencies: dependencies:
"@ungap/from-entries" "^0.2.1" "@ungap/from-entries" "^0.2.1"
proxy-polyfill "0.1.6" proxy-polyfill "0.1.6"