Janic Duplessis 4 lat temu
rodzic
commit
7edb171db1
1 zmienionych plików z 2 dodań i 2 usunięć
  1. 2
    2
      src/SafeAreaContext.tsx

+ 2
- 2
src/SafeAreaContext.tsx Wyświetl plik

@@ -112,7 +112,7 @@ export function withSafeAreaInsets<T>(
112 112
 ) {
113 113
   return (props: T) => (
114 114
     <SafeAreaConsumer>
115
-      {insets => <WrappedComponent {...props} insets={insets} />}
115
+      {(insets) => <WrappedComponent {...props} insets={insets} />}
116 116
     </SafeAreaConsumer>
117 117
   );
118
-}
118
+}