From 30d44f946c2fb0963def05af2ec211b5c2dbd2de Mon Sep 17 00:00:00 2001 From: Fricoben Date: Fri, 25 Aug 2023 17:32:18 +0200 Subject: [PATCH] fix: discord link --- .../UI/actions/clickable/clickableDiscordIcon.tsx | 12 +++++------- styles/components/icons.module.css | 6 ++++++ 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/components/UI/actions/clickable/clickableDiscordIcon.tsx b/components/UI/actions/clickable/clickableDiscordIcon.tsx index 8a6f4dad..a8810805 100644 --- a/components/UI/actions/clickable/clickableDiscordIcon.tsx +++ b/components/UI/actions/clickable/clickableDiscordIcon.tsx @@ -18,13 +18,11 @@ const ClickableDiscordIcon: FunctionComponent = ({ discordId, }) => { return discordId ? ( - -
- window.open(`https://discord.com/channels/@me/${discordId}`) - } - > + +
diff --git a/styles/components/icons.module.css b/styles/components/icons.module.css index 54542d9f..6de90426 100644 --- a/styles/components/icons.module.css +++ b/styles/components/icons.module.css @@ -43,7 +43,13 @@ .clickableIconDiscord { background-color: #7289d9; + cursor: pointer; +} + +.clickableIconTwitter { + cursor: pointer; } + .button_icon { width: 24px; margin-right: 12px;