Skip to content

Commit

Permalink
Ignore false positives
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaw3d committed Apr 4, 2023
1 parent a5c515f commit 7bd2d09
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/components/Sidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 && <Text>{label}</Text>}
</Box>
Expand Down Expand Up @@ -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}
</Nav>
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export function TransactionHistory(props: Props) {
</p>
)}
{allTransactions.length ? (
// eslint-disable-next-line no-restricted-syntax -- transactionComponents is not a plain text node
transactionComponents
) : (
<Box
Expand Down
1 change: 1 addition & 0 deletions src/app/pages/ParaTimesPage/ParaTimeContent/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ export const ParaTimeContent = ({ children, description, header, isLoading }: Pa
</Text>
</Box>
<Box align="center" fill="horizontal" gap="medium" margin={{ bottom: 'xlarge' }} responsive={false}>
{/* eslint-disable-next-line no-restricted-syntax -- children are not a plain text node */}
{isLoading ? <Spinner data-testid="paraTime-content-loading" size="medium" /> : children}
</Box>
</Box>
Expand Down

0 comments on commit 7bd2d09

Please sign in to comment.