Skip to content

Commit 37a8f4e

Browse files
committed
Reference id property instead of webauthnKey computed property for display check
1 parent 9a0c014 commit 37a8f4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Livewire/TwoFactorAuthentication/WebauthnKey.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ public function webauthnKey(): ?WebauthnKeyModel
6666
public function render(): string
6767
{
6868
return <<<'HTML'
69-
<div @class(['hidden' => ! $this->webauthnKey])>
70-
@if ($this->webauthnKey)
69+
<div @class(['hidden' => ! $this->id])>
70+
@if ($this->id)
7171
<div class="py-3 flex justify-between items-center gap-x-3">
7272
<div>
7373
<div>

0 commit comments

Comments
 (0)