Skip to content

Commit 0ac2fa7

Browse files
committed
fix build error
1 parent 0ea9620 commit 0ac2fa7

File tree

1 file changed

+2
-0
lines changed
  • packages/web/src/app/[domain]/components

1 file changed

+2
-0
lines changed

packages/web/src/app/[domain]/components/topBar.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import logoLight from "@/public/sb_logo_light.png";
44
import logoDark from "@/public/sb_logo_dark.png";
55
import { SearchBar } from "./searchBar";
66
import { SettingsDropdown } from "./settingsDropdown";
7+
import { env } from "@/env.mjs";
78

89
interface TopBarProps {
910
defaultSearchQuery?: string;
@@ -40,6 +41,7 @@ export const TopBar = ({
4041
</div>
4142
<SettingsDropdown
4243
menuButtonClassName="w-8 h-8"
44+
isAuthEnabled={env.SOURCEBOT_AUTH_ENABLED === 'true'}
4345
/>
4446
</div>
4547
)

0 commit comments

Comments
 (0)