Skip to content
This repository was archived by the owner on Sep 10, 2024. It is now read-only.

Commit c8afc48

Browse files
committed
frontend: remove double separator when password auth is disabled
1 parent 0d81cfd commit c8afc48

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

frontend/src/routes/_account.index.lazy.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,12 @@ function Index(): React.ReactElement {
7979
)}
8080
</div>
8181

82-
<Separator />
83-
8482
{siteConfig.passwordLoginEnabled && (
85-
<AccountManagementPasswordPreview siteConfig={siteConfig} />
83+
<>
84+
<Separator />
85+
86+
<AccountManagementPasswordPreview siteConfig={siteConfig} />
87+
</>
8688
)}
8789

8890
<Separator />

0 commit comments

Comments
 (0)