Skip to content

Commit 75d95d2

Browse files
committed
feat: remove redundant code
1 parent de99358 commit 75d95d2

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

infrastructure/eid-wallet/src/lib/fragments/Header/Header.svelte

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@ import type { HTMLAttributes } from "svelte/elements";
66
77
interface IHeaderProps extends HTMLAttributes<HTMLElement> {
88
title: string;
9-
isUserLoggedIn?: boolean;
109
isBackRequired?: boolean;
1110
handleProfile?: () => void;
1211
}
1312
1413
const {
1514
title = "Create PIN",
16-
isUserLoggedIn = true,
1715
isBackRequired = true,
1816
handleProfile = undefined,
1917
...restProps
@@ -28,9 +26,5 @@ const cBase = "w-full h-[9vh] flex justify-between items-center";
2826
<span aria-hidden="true"></span>
2927
{/if}
3028
<h4 class="text-center">{title}</h4>
31-
<!-- {#if isUserLoggedIn}
32-
<Button.Icon icon={UserCircleIcon} iconSize="8.1vw" iconColor={"text-black-700"} onclick={handleProfile} />
33-
{:else} -->
34-
<span aria-hidden="true"></span>
35-
<!-- {/if} -->
29+
<span aria-hidden="true"></span>
3630
</header>

0 commit comments

Comments
 (0)