diff --git a/front/src/Components/ActionsMenu/ActionsMenu.svelte b/front/src/Components/ActionsMenu/ActionsMenu.svelte index 053502eb..632401e7 100644 --- a/front/src/Components/ActionsMenu/ActionsMenu.svelte +++ b/front/src/Components/ActionsMenu/ActionsMenu.svelte @@ -1,16 +1,13 @@ -
- -

{playerName}

-
- {#each [...possibleActions] as [key, menuAction]} - - {/each} +{#if actionsMenuData} +
+ +

{actionsMenuData.playerName}

+
+ {#each [...actionsMenuData.actions] as { actionName, callback }} + + {/each} +
-
+{/if}