diff --git a/packages/browser-wallet/src/popup/popupX/pages/prompts/AddWeb3IdCredential/AddWeb3IdCredential.scss b/packages/browser-wallet/src/popup/popupX/pages/prompts/AddWeb3IdCredential/AddWeb3IdCredential.scss index 2e2b9094..a9baf545 100644 --- a/packages/browser-wallet/src/popup/popupX/pages/prompts/AddWeb3IdCredential/AddWeb3IdCredential.scss +++ b/packages/browser-wallet/src/popup/popupX/pages/prompts/AddWeb3IdCredential/AddWeb3IdCredential.scss @@ -1,4 +1,4 @@ -.add-web3Id-credential-x { +.add-web3-id-credential-x { &__error { color: $color-red-attention; } diff --git a/packages/browser-wallet/src/popup/popupX/pages/prompts/AddWeb3IdCredential/AddWeb3IdCredential.tsx b/packages/browser-wallet/src/popup/popupX/pages/prompts/AddWeb3IdCredential/AddWeb3IdCredential.tsx index 9acf9b5b..12a1b14c 100644 --- a/packages/browser-wallet/src/popup/popupX/pages/prompts/AddWeb3IdCredential/AddWeb3IdCredential.tsx +++ b/packages/browser-wallet/src/popup/popupX/pages/prompts/AddWeb3IdCredential/AddWeb3IdCredential.tsx @@ -35,6 +35,7 @@ import { Web3IdCardRaw } from '@popup/popupX/shared/Web3IdCard/Web3IdCard'; import Page from '@popup/popupX/shared/Page'; import Button from '@popup/popupX/shared/Button'; import { fullscreenPromptContext } from '@popup/popupX/page-layouts/FullscreenPromptLayout'; +import Text from '@popup/popupX/shared/Text'; type Props = { onAllow(key: string): void; @@ -247,7 +248,7 @@ export default function AddWeb3IdCredential({ onAllow, onReject }: Props) { {error && ( -
+
{t('error.initial')}
{error} @@ -255,7 +256,7 @@ export default function AddWeb3IdCredential({ onAllow, onReject }: Props) { )} {!error && schema && metadata && ( <> -
{t('description', { dapp: urlDisplay })}
+ {t('description', { dapp: urlDisplay })}