Skip to content

Commit

Permalink
fix formatting of unknown token warning
Browse files Browse the repository at this point in the history
  • Loading branch information
benwolski committed Oct 12, 2024
1 parent 28c807e commit 26f2a85
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ambient-ts-app",
"version": "2.9.5",
"version": "2.9.6",
"private": true,
"type": "module",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Trade/TradeModules/TradeModuleSkeleton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export const TradeModuleSkeleton = (props: PropsIF) => {
}, [needConfirmTokenA, needConfirmTokenB, tokenA.symbol, tokenB.symbol]);

const formattedAckTokenMessage = ackTokenMessage.replace(
/\b(not|fraudulent)\b/gi,
/\b(not|(?<!many\s)fraudulent)\b/gi,
'<span style="color: var(--negative); text-transform: uppercase;">$1</span>',
);

Expand Down

0 comments on commit 26f2a85

Please sign in to comment.