aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/(app)')
-rw-r--r--src/routes/(app)/[username]/(profile)/+layout.svelte16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/routes/(app)/[username]/(profile)/+layout.svelte b/src/routes/(app)/[username]/(profile)/+layout.svelte
index 11e33dbf..429aedf7 100644
--- a/src/routes/(app)/[username]/(profile)/+layout.svelte
+++ b/src/routes/(app)/[username]/(profile)/+layout.svelte
@@ -169,14 +169,14 @@
{/if}
{#if user.username !== subject.username}
- <button
- type="button"
- on:click={toggleDetails}
- class="rounded-2xl border py-5 px-6 font-bold hover:opacity-80 flex justify-center w-full"
- >
- <Icon icon="profile" style="w-8 mr-2" />
- <div class="mt-1">{$t("user.info")}</div>
- </button>
+ <button
+ type="button"
+ on:click={toggleDetails}
+ class="rounded-2xl border py-5 px-6 font-bold hover:opacity-80 flex justify-center w-full"
+ >
+ <Icon icon="profile" style="w-8 mr-2" />
+ <div class="mt-1">{$t("user.info")}</div>
+ </button>
{/if}
{#if user?.admin && user.username !== subject.username}