Skip to content

Commit e5d205d

Browse files
authored
fix: admin logout button visibility (#650)
1 parent 15ee9e6 commit e5d205d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/src/components/landing/HeaderBar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ export default function HeaderBar({
445445
{user.email}
446446
</div>
447447
</div>
448-
{!isAdminMode && onLogout && (
448+
{onLogout && (
449449
<button
450450
onClick={() => {
451451
onLogout()
@@ -882,7 +882,7 @@ export default function HeaderBar({
882882
</div>
883883
</div>
884884
</div>
885-
{!isAdminMode && onLogout && (
885+
{onLogout && (
886886
<button
887887
onClick={() => {
888888
onLogout()

0 commit comments

Comments
 (0)