mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-03-26 08:55:56 +01:00
Update TooltipMenu.android.tsx
This commit is contained in:
parent
3dc65ae074
commit
dc3051a9aa
1 changed files with 3 additions and 1 deletions
|
@ -3,7 +3,7 @@ import { Pressable } from 'react-native';
|
|||
import { MenuView, NativeActionEvent } from '@react-native-menu/menu';
|
||||
import { ToolTipMenuProps } from './types';
|
||||
|
||||
const BaseToolTipMenu = (props: ToolTipMenuProps, _ref: any) => {
|
||||
const BaseToolTipMenu = (props: ToolTipMenuProps, ref: any) => {
|
||||
const {
|
||||
actions,
|
||||
children,
|
||||
|
@ -17,6 +17,8 @@ const BaseToolTipMenu = (props: ToolTipMenuProps, _ref: any) => {
|
|||
...restProps
|
||||
} = props;
|
||||
|
||||
console.debug('ToolTipMenu.android.tsx ref:', ref);
|
||||
|
||||
const menuItems = useMemo(() => {
|
||||
return actions.flatMap(action => {
|
||||
if (Array.isArray(action)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue