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 <SiteOrigin
chip chip
siteOrigin={siteOrigin} siteOrigin={siteOrigin}
title={siteOrigin}
iconSrc={iconUrl} iconSrc={iconUrl}
name={iconName} name={iconName}
leftIcon={leftIcon} leftIcon={leftIcon}

View File

@ -182,6 +182,7 @@ exports[`SignatureRequestOriginal should match snapshot 1`] = `
> >
<div <div
class="site-origin" class="site-origin"
title="https://happydapp.website/governance?futarchy=true"
> >
<div <div
class="chip chip--with-left-icon chip--border-color-border-muted chip--background-color-undefined" 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} ) : null}
<div className="request-signature__origin"> <div className="request-signature__origin">
<SiteOrigin <SiteOrigin
title={txData.msgParams.origin}
siteOrigin={txData.msgParams.origin} siteOrigin={txData.msgParams.origin}
iconSrc={targetSubjectMetadata?.iconUrl} iconSrc={targetSubjectMetadata?.iconUrl}
iconName={ iconName={

View File

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