Janic Duplessis hace 4 años
padre
commit
7edb171db1
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2
    2
      src/SafeAreaContext.tsx

+ 2
- 2
src/SafeAreaContext.tsx Ver fichero

@@ -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
+}