Skip to content

Commit

Permalink
L1-302: Remove ThreatSlayer banner
Browse files Browse the repository at this point in the history
  • Loading branch information
youPickItUp committed Oct 14, 2024
1 parent 39a02bb commit 6e3d555
Showing 1 changed file with 1 addition and 25 deletions.
26 changes: 1 addition & 25 deletions packages/page-accounts/src/Accounts/BannerExtension.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,31 +65,7 @@ function ExtensionWarning (): React.ReactElement | null {
);
}

function BannerExtension () {
const { t } = useTranslation();

return (
<>
<ExtensionWarning />
<Banner type='warning'>
<p>
{t('For extra protection, consider using the')}&nbsp;
<a
href='https://chrome.google.com/webstore/detail/threatslayer/mgcmocglffknmbhhfjihifeldhghihpj'
rel='noreferrer'
target='_blank'
>
Threat Slayer
</a>
&nbsp;{t('extension which protects you from dangerous websites in real-time.')}
</p>

</Banner>
</>
);
}

export default onlyOnWeb(React.memo(BannerExtension));
export default onlyOnWeb(React.memo(ExtensionWarning));

const SafetyInfoList = styled.ul`
margin-block: 0;
Expand Down

0 comments on commit 6e3d555

Please sign in to comment.