Skip to content

Commit 0475a7a

Browse files
committed
preserve js null behavior in header
1 parent 28c12cb commit 0475a7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ const Header = ({ status, mode, nav, menuItems }: HeaderProps) => {
178178
</Link>
179179
</NextLink>
180180
)}
181-
{(mode === undefined || mode === 'remote') && (
181+
{(mode == null || mode === 'remote') && (
182182
<Link
183183
href='https://carbonplan.org'
184184
aria-label='CarbonPlan Homepage'

0 commit comments

Comments
 (0)