FIX: Lint

This commit is contained in:
Marcos Rodriguez Velez 2024-08-22 10:04:54 -04:00
parent 253e85432a
commit 3b373b475e
2 changed files with 13 additions and 10 deletions

View File

@ -21,7 +21,7 @@ const styles = StyleSheet.create({
},
});
const AddWalletButton: React.FC<AddWalletButtonProps> = ({ onPress } : { onPress: () => void }) => {
const AddWalletButton: React.FC<AddWalletButtonProps> = ({ onPress }) => {
const { colors } = useTheme();
const stylesHook = StyleSheet.create({
ball: {

View File

@ -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 (