Skip to content

Commit

Permalink
feat(web): testing alert only on user side
Browse files Browse the repository at this point in the history
  • Loading branch information
mrevanzak committed Jun 11, 2024
1 parent 0c3742e commit 8b37037
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/web/src/components/navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export async function Navbar() {

return (
<header className="sticky top-0 z-10 bg-content1">
{isTesting && (
{!isAdmin && isTesting && (
<Alert className="rounded-none bg-warning text-warning-foreground">
<AlertTitle>Testing mode: ON</AlertTitle>
<AlertDescription>
Expand Down

0 comments on commit 8b37037

Please sign in to comment.