Skip to content

Commit

Permalink
fix: typecheck with View in forwardRef
Browse files Browse the repository at this point in the history
  • Loading branch information
tanlethanh committed Jul 7, 2024
1 parent 1cfd981 commit b666236
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/wallet/vendor/web-webview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { forwardRef } from 'react';
import { StyleSheet, View } from 'react-native';
import { Text } from '@walless/gui';

export const WebView = forwardRef((_, ref) => {
export const WebView = forwardRef<View>((_, ref) => {
return (
<View ref={ref} style={styles.container}>
<Text>WebView</Text>
Expand Down

0 comments on commit b666236

Please sign in to comment.