Refactor EditModal component to use adventureToEdit prop instead of individual props

This commit is contained in:
Sean Morley
2024-04-27 16:54:20 +00:00
parent b057ee01b3
commit 7327fefe15
5 changed files with 22 additions and 37 deletions

View File

@@ -78,6 +78,10 @@
<button class="btn btn-primary my-2 md:my-0 md:mr-4" on:click={goToLog}
>My Log</button
>
<button
class="btn btn-primary my-2 md:my-0 md:mr-4"
on:click={() => goto("/planner")}>Planner</button
>
{/if}
<button
class="btn btn-primary my-2 md:my-0 md:mr-4"