mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-19 01:40:12 +01:00
FIX: Lint
This commit is contained in:
parent
253e85432a
commit
3b373b475e
@ -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: {
|
||||
|
@ -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 (
|
||||
|
Loading…
Reference in New Issue
Block a user