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:
parent
c89b93dc1d
commit
196b8408d0
@ -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}
|
||||||
|
@ -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"
|
||||||
|
@ -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={
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user