1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 11:22:43 +02:00

[FLASK] Don't show the title on Install/Update when it's loading (#19012)

This commit is contained in:
Guillaume Roux 2023-05-05 10:00:14 +02:00 committed by GitHub
parent 6f15795c33
commit f0fd1772ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ export default function SnapInstall({
flexDirection={FLEX_DIRECTION.COLUMN}
>
<SnapAuthorship snapId={targetSubjectMetadata.origin} />
{!hasError && (
{!isLoading && !hasError && (
<Text
variant={TextVariant.headingLg}
paddingTop={4}

View File

@ -97,7 +97,7 @@ export default function SnapUpdate({
flexDirection={FLEX_DIRECTION.COLUMN}
>
<SnapAuthorship snapId={targetSubjectMetadata.origin} />
{!hasError && (
{!isLoading && !hasError && (
<Text
paddingBottom={4}
paddingTop={4}