tangled
alpha
login
or
join now
shi.gg
/
mellow-web
4
fork
atom
The weeb for the next gen discord boat - Wamellow
wamellow.com
bot
discord
4
fork
atom
overview
issues
pulls
pipelines
fix: logout not causing a re-render
shi.gg
2 months ago
e6ae008b
04c2c8c5
verified
This commit was signed with the committer's
known signature
.
shi.gg
SSH Key Fingerprint:
SHA256:f/mKQ+wsL4JFEMsfMBVIpFfwyYH0N5+n6IHwZA0Q+U0=
+8
-4
1 changed file
expand all
collapse all
unified
split
components
header.tsx
+8
-4
components/header.tsx
···
138
138
asChild
139
139
className="text-red-400"
140
140
>
141
141
-
<Link href="/login?logout=true" prefetch={false}>
142
142
-
<HiLogout />
141
141
+
<button
142
142
+
onClick={() => {
143
143
+
window.location.href = "/login?logout=true";
144
144
+
}}
145
145
+
>
146
146
+
< HiLogout />
143
147
Logout
144
144
-
</Link>
148
148
+
</button>
145
149
</DropdownMenuItem>
146
150
</DropdownMenuGroup>
147
151
</DropdownMenuContent>
148
148
-
</DropdownMenu>
152
152
+
</DropdownMenu >
149
153
);
150
154
}