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

PermissionsConnectHeader: unlock SiteOrigin title (#18270)

* PermissionsConnectHeader: unlock SiteOrigin title

* SignatureRequestOriginal: unlock SiteOrigin title

* signature-req: update snapshots
This commit is contained in:
Ariella Vu 2023-03-23 09:32:54 -07:00 committed by GitHub
parent c89b93dc1d
commit 196b8408d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 0 deletions

View File

@ -64,6 +64,7 @@ export default class PermissionsConnectHeader extends Component {
<SiteOrigin
chip
siteOrigin={siteOrigin}
title={siteOrigin}
iconSrc={iconUrl}
name={iconName}
leftIcon={leftIcon}

View File

@ -182,6 +182,7 @@ exports[`SignatureRequestOriginal should match snapshot 1`] = `
>
<div
class="site-origin"
title="https://happydapp.website/governance?futarchy=true"
>
<div
class="chip chip--with-left-icon chip--border-color-border-muted chip--background-color-undefined"

View File

@ -154,6 +154,7 @@ export default class SignatureRequestOriginal extends Component {
) : null}
<div className="request-signature__origin">
<SiteOrigin
title={txData.msgParams.origin}
siteOrigin={txData.msgParams.origin}
iconSrc={targetSubjectMetadata?.iconUrl}
iconName={

View File

@ -16,6 +16,7 @@ exports[`SignatureRequestSIWE (Sign in with Ethereum) should match snapshot 1`]
>
<div
class="site-origin"
title="https://example-dapp.website"
>
<div
class="chip chip--with-left-icon chip--border-color-border-muted chip--background-color-undefined"