Skip to content

Commit

Permalink
fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
franco-chan committed Dec 25, 2024
1 parent 9471250 commit 601f771
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* eslint-disable import-path/parent-depth */
import { StyleSheet } from 'react-native';

import type {
Expand Down Expand Up @@ -478,7 +479,7 @@ function YourComponentDemo() {
/>
))}

{/* sitemark */}
{/* site mark */}
<DAppSiteMark origin="https://uniswap.org" />

{/* map items */}
Expand Down Expand Up @@ -538,7 +539,10 @@ function YourComponentDemo() {
return (
<SignatureDetailItem key={item.label}>
<SignatureDetailItem.Label>{item.label}</SignatureDetailItem.Label>
<SignatureDetailItem.Value>{item.value}</SignatureDetailItem.Value>
<SignatureDetailItem.Value>
{/* @ts-expect-error - fallback case */}
{item.value || ''}
</SignatureDetailItem.Value>
</SignatureDetailItem>
);
})}
Expand Down

0 comments on commit 601f771

Please sign in to comment.