Skip to content

Commit 8e1ddc6

Browse files
Potential fix for pull request finding 'CodeQL / Incomplete string escaping or encoding'
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
1 parent 34dfea8 commit 8e1ddc6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/web/src/components/Logo/DoubleLogo.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function LogolessPlaceholder({
4747

4848
return (
4949
<MissingImageLogo $size={size + 'px'} $textColor={foreground} $backgroundColor={background}>
50-
{currency?.symbol?.toUpperCase().replace('$', '').replace(/\s+/g, '').slice(0, 3)}
50+
{currency?.symbol?.toUpperCase().replace(/\$/g, '').replace(/\s+/g, '').slice(0, 3)}
5151
{showNetworkLogo && (
5252
<Flex bottom={-2} position="absolute" right={-3} zIndex={zIndexes.mask}>
5353
<NetworkLogo borderWidth={networkLogoBorderWidth} chainId={chainId} size={networkLogoSize} />

0 commit comments

Comments
 (0)