Skip to content

Commit de99358

Browse files
committed
fix: error state
1 parent 6e1cdfe commit de99358

File tree

1 file changed

+2
-2
lines changed
  • infrastructure/eid-wallet/src/routes/(app)/settings/pin

1 file changed

+2
-2
lines changed

infrastructure/eid-wallet/src/routes/(app)/settings/pin/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ $effect(() => {
3434
</div>
3535
<div>
3636
<p class="mb-[1vh]">Enter your new PIN</p>
37-
<InputPin bind:pin={newPin} variant="sm"/>
37+
<InputPin bind:pin={newPin} {isError} variant="sm"/>
3838
</div>
3939
<div>
4040
<p class="mb-[1vh]">Confirm new PIN</p>
41-
<InputPin bind:pin={repeatPin} variant="sm"/>
41+
<InputPin bind:pin={repeatPin} {isError} variant="sm"/>
4242
</div>
4343
<p class={`text-danger mt-[3.4vh] ${isError ? "block" : "hidden"}`}>Your PIN does not match, try again.</p>
4444
</section>

0 commit comments

Comments
 (0)