fix dragndrop publish (#7599)

This commit is contained in:
jessopb 2022-06-02 16:42:27 -04:00 committed by GitHub
parent 0067d5a411
commit 168ae17eb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View file

@ -2310,5 +2310,7 @@
"%spaceUsed% of %limit% Free GB": "%spaceUsed% of %limit% Free GB", "%spaceUsed% of %limit% Free GB": "%spaceUsed% of %limit% Free GB",
"Disabled": "Disabled", "Disabled": "Disabled",
"Free --[legend, unused disk space]--": "Free", "Free --[legend, unused disk space]--": "Free",
"Top content in %language%": "Top content in %language%",
"Apply": "Apply",
"--end--": "--end--" "--end--": "--end--"
} }

View file

@ -143,7 +143,6 @@ function App(props: Props) {
const shouldMigrateLanguage = LANGUAGE_MIGRATIONS[language]; const shouldMigrateLanguage = LANGUAGE_MIGRATIONS[language];
const hasActiveChannelClaim = activeChannelId !== undefined; const hasActiveChannelClaim = activeChannelId !== undefined;
const isPersonalized = hasVerifiedEmail; const isPersonalized = hasVerifiedEmail;
const renderFiledrop = isAuthenticated;
useEffect(() => { useEffect(() => {
if (userId) { if (userId) {
@ -349,7 +348,7 @@ function App(props: Props) {
> >
<Router /> <Router />
<ModalRouter /> <ModalRouter />
{renderFiledrop && <FileDrop />} <FileDrop />
<FileRenderFloating /> <FileRenderFloating />
{isEnhancedLayout && <Yrbl className="yrbl--enhanced" />} {isEnhancedLayout && <Yrbl className="yrbl--enhanced" />}