From 4f2957c5fc3dda8c6564188841921f4c0c445fb6 Mon Sep 17 00:00:00 2001 From: Marcos Rodriguez Velez Date: Fri, 5 Jan 2024 21:05:06 -0400 Subject: [PATCH] Update FloatButtons.tsx --- components/FloatButtons.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/components/FloatButtons.tsx b/components/FloatButtons.tsx index 5dff3692d..a41698eb0 100644 --- a/components/FloatButtons.tsx +++ b/components/FloatButtons.tsx @@ -1,7 +1,6 @@ import React, { useState, useRef, forwardRef, ReactNode } from 'react'; import { View, Text, TouchableOpacity, StyleSheet, Dimensions, PixelRatio } from 'react-native'; import { useTheme } from './themes'; -import { useSafeAreaInsets } from 'react-native-safe-area-context'; const BORDER_RADIUS = 30; const PADDINGS = 8; @@ -64,7 +63,7 @@ export const FContainer = forwardRef((props: { children: {newWidth ? React.Children.toArray(props.children) .filter(Boolean) - .map((child, index, array) => { + .map((child: any, index: number, array: string | any[]) => { if (typeof child === 'string') { return (