Skip to content

Commit

Permalink
fix: filter spam transactions from activity, closes #4017
Browse files Browse the repository at this point in the history
  • Loading branch information
pete-watters committed Oct 4, 2023
1 parent 9f8291f commit b1bf006
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/components/transaction/transaction-title.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { useRef, useState } from 'react';

import { useOnResizeListener } from '@app/common/hooks/use-on-resize-listener';
import { spamFilter } from '@app/common/utils/spam-filter';
import { Tooltip } from '@app/components/tooltip';
import { Title } from '@app/components/typography';

Expand All @@ -27,7 +28,7 @@ export function TransactionTitle(props: TransactionTitleProps) {
textOverflow="ellipsis"
whiteSpace="nowrap"
>
{title}
{spamFilter(title)}
</Title>
</Tooltip>
);
Expand Down

0 comments on commit b1bf006

Please sign in to comment.