From 9354d69acff0104366a1b90f635c9b1475610528 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Tue, 24 Jun 2025 22:48:55 +0200 Subject: [PATCH] feat(header): conditionally render 'Editor' or 'GitHub' button based on environment --- apps/web/src/components/header.tsx | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/apps/web/src/components/header.tsx b/apps/web/src/components/header.tsx index 35ad107..787b261 100644 --- a/apps/web/src/components/header.tsx +++ b/apps/web/src/components/header.tsx @@ -41,12 +41,21 @@ export function Header() { Contributors - - - + {process.env.NODE_ENV === "development" ? ( + + + + ) : ( + + + + )} );