Skip to content

Commit 650e276

Browse files
committed
Fix GitHub link unconditionally navigating to Discord
The GitHub link in the site header across all pages is unconditionally linking to Discord, not GitHub. More details in the issue, but the gist is it appears to be a regression from a large refactor merged 2 days ago: fef6139 All the context was already wired up, it just appears to be using the wrong context variable. An easy fix! Hopefully. Tested locally by smoke testing the link across a few pages and project roots. Closes #1482
1 parent d10eaf9 commit 650e276

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

osmium/src/ui/layout/main-header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export function MainHeader(_props: MainHeaderProps) {
113113
<div class="order- flex basis-0 items-center justify-end gap-4 lg:order-2">
114114
<ClientSearch />
115115
<a
116-
href={`${config().themeConfig?.discord}/${project().projects[project().current].path || "solid"}`}
116+
href={`${config().themeConfig?.github}/${project().projects[project().current].path || "solid"}`}
117117
class="group"
118118
aria-label="GitHub"
119119
target="_blank"

0 commit comments

Comments
 (0)