From 7bd2d09b4b27c1f179cb5ab184cee185fc483a85 Mon Sep 17 00:00:00 2001 From: lukaw3d Date: Tue, 4 Apr 2023 17:54:44 +0200 Subject: [PATCH] Ignore false positives --- src/app/components/Sidebar/index.tsx | 2 ++ src/app/pages/AccountPage/Features/TransactionHistory/index.tsx | 1 + src/app/pages/ParaTimesPage/ParaTimeContent/index.tsx | 1 + 3 files changed, 4 insertions(+) diff --git a/src/app/components/Sidebar/index.tsx b/src/app/components/Sidebar/index.tsx index f162fd840f..7e0918c438 100644 --- a/src/app/components/Sidebar/index.tsx +++ b/src/app/components/Sidebar/index.tsx @@ -99,6 +99,7 @@ export const SidebarButton = ({ gap="medium" justify={isMediumSize ? 'center' : 'start'} > + {/* eslint-disable-next-line no-restricted-syntax -- icon is not a plain text node */} {icon} {!isMediumSize && {label}} @@ -295,6 +296,7 @@ function SidebarMenuItems() { {menu.home} {menu.wallet} {menu.stake} + {/* eslint-disable-next-line no-restricted-syntax -- menu.paraTimes is not a plain text node */} {canAccessParaTimesRoute && menu.paraTimes} ) diff --git a/src/app/pages/AccountPage/Features/TransactionHistory/index.tsx b/src/app/pages/AccountPage/Features/TransactionHistory/index.tsx index a0785b8d81..d2a4c19395 100644 --- a/src/app/pages/AccountPage/Features/TransactionHistory/index.tsx +++ b/src/app/pages/AccountPage/Features/TransactionHistory/index.tsx @@ -41,6 +41,7 @@ export function TransactionHistory(props: Props) {

)} {allTransactions.length ? ( + // eslint-disable-next-line no-restricted-syntax -- transactionComponents is not a plain text node transactionComponents ) : ( + {/* eslint-disable-next-line no-restricted-syntax -- children are not a plain text node */} {isLoading ? : children}