diff --git a/starsky/starsky/clientapp/src/components/molecules/menu-option-move-to-trash/menu-option-move-to-trash.tsx b/starsky/starsky/clientapp/src/components/molecules/menu-option-move-to-trash/menu-option-move-to-trash.tsx index b2770c1776..08e12bcafc 100644 --- a/starsky/starsky/clientapp/src/components/molecules/menu-option-move-to-trash/menu-option-move-to-trash.tsx +++ b/starsky/starsky/clientapp/src/components/molecules/menu-option-move-to-trash/menu-option-move-to-trash.tsx @@ -90,8 +90,9 @@ const MenuOptionMoveToTrash: React.FunctionComponent { - await moveToTrashSelection(); + set={(value) => { + console.log(value); + moveToTrashSelection(); }} localization={localization.MessageMoveToTrash} />