Skip to content

Commit 599f364

Browse files
Update web/src/components/Hero.tsx
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 8bac0d0 commit 599f364

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

web/src/components/Hero.tsx

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -47,22 +47,14 @@ export const Hero = () => {
4747
<div className="flex flex-col gap-2 sm:flex-row mt-14 mb-24 sm:mb-40 justify-center">
4848
<button
4949
className="contained-button w-64 sm:w-52 h-12 mr-0 sm:mr-4 lg:mr-6 mb-2 sm:mb-0"
50-
onClick={() => {
51-
{
52-
window.open("/invite/bot", "_blank");
53-
}
54-
}}
50+
onClick={() => window.open("/invite/bot", "_blank")}
5551
aria-label="Invite Now"
5652
>
5753
Invite Now
5854
</button>
5955
<button
6056
className="w-64 sm:w-52 h-12 rounded-xl font-bold text-primaryText border border-solid flex justify-center items-center cursor-pointer bg-bgDark2 hover:bg-bgDark3 border-primaryColor transition"
61-
onClick={() => {
62-
{
63-
window.open("/invite/server", "_blank");
64-
}
65-
}}
57+
onClick={() => window.open("/invite/server", "_blank")}
6658
aria-label="Join Support Server"
6759
>
6860
Join Support Server

0 commit comments

Comments
 (0)