From 3b373b475e97555dcebd31e2c003efc5c8480bde Mon Sep 17 00:00:00 2001 From: Marcos Rodriguez Velez Date: Thu, 22 Aug 2024 10:04:54 -0400 Subject: [PATCH] FIX: Lint --- components/AddWalletButton.tsx | 2 +- components/icons/SettingsButton.tsx | 21 ++++++++++++--------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/components/AddWalletButton.tsx b/components/AddWalletButton.tsx index 8dc200bb1..5ebdd178d 100644 --- a/components/AddWalletButton.tsx +++ b/components/AddWalletButton.tsx @@ -21,7 +21,7 @@ const styles = StyleSheet.create({ }, }); -const AddWalletButton: React.FC = ({ onPress } : { onPress: () => void }) => { +const AddWalletButton: React.FC = ({ onPress }) => { const { colors } = useTheme(); const stylesHook = StyleSheet.create({ ball: { diff --git a/components/icons/SettingsButton.tsx b/components/icons/SettingsButton.tsx index feb2a5014..63ad9ab05 100644 --- a/components/icons/SettingsButton.tsx +++ b/components/icons/SettingsButton.tsx @@ -14,15 +14,18 @@ const SettingsButton = () => { navigate('Settings'); }; - const onPressMenuItem = useCallback((menuItem: string) => { - switch (menuItem) { - case CommonToolTipActions.ManageWallet.id: - navigate('ManageWallets'); - break; - default: - break; - } - }, [navigate]); + const onPressMenuItem = useCallback( + (menuItem: string) => { + switch (menuItem) { + case CommonToolTipActions.ManageWallet.id: + navigate('ManageWallets'); + break; + default: + break; + } + }, + [navigate], + ); const actions = useMemo(() => [CommonToolTipActions.ManageWallet], []); return (