Skip to content

Commit

Permalink
fix the title for create a wish for yourself
Browse files Browse the repository at this point in the history
  • Loading branch information
cmintey committed Oct 14, 2023
1 parent 5c943c0 commit e377695
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions src/lib/components/BackButton.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@
</a>
{:else}
<button class="btn w-fit p-0" type="button" on:click={() => history.back()}>
<!-- <div class="flex flex-row items-center space-x-1"> -->
<iconify-icon icon="ion:arrow-back" />

<span class="text-xl">{documentTitle || label}</span>
<!-- </div> -->
</button>
{/if}
2 changes: 1 addition & 1 deletion src/routes/wishlists/[username]/new/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@

<svelte:head>
<title>
Create Wish {!data.owner.isMe && `for ${data.owner.name}`}
Create Wish {data.owner.isMe ? "" : `for ${data.owner.name}`}
</title>
</svelte:head>

0 comments on commit e377695

Please sign in to comment.