Skip to content

Commit

Permalink
chore: added max number of lines to response modal
Browse files Browse the repository at this point in the history
  • Loading branch information
ignaciosantise committed Oct 15, 2024
1 parent d7937da commit 7deba12
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dapps/W3MWagmi/src/components/RequestModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,17 @@ export function RequestModal({
<Text style={[styles.title, {color: Theme['success-100']}]}>
Request Response
</Text>
<Text style={styles.responseText}>{rpcResponse}</Text>
<Text style={styles.responseText} numberOfLines={5}>
{rpcResponse}
</Text>
</>
)}
{rpcError && (
<>
<Text style={[styles.title, {color: Theme['error-100']}]}>
Request Failure
</Text>
<Text style={styles.subtitle}>
<Text style={styles.subtitle} numberOfLines={5}>
Error: <Text style={styles.responseText}>{rpcError}</Text>
</Text>
</>
Expand Down

0 comments on commit 7deba12

Please sign in to comment.