aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-12-21 00:28:58 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-12-21 00:28:58 +0800
commit97369c969ce87695af7d0c0a86182e283f0cd726 (patch)
tree94e1171bbf4be2f27323aae3284fef7e58258de3
parent72e68c43e33cac1bd8a95c4b55ea745095cffa48 (diff)
downloaddexon-sol-tools-97369c969ce87695af7d0c0a86182e283f0cd726.tar.gz
dexon-sol-tools-97369c969ce87695af7d0c0a86182e283f0cd726.tar.zst
dexon-sol-tools-97369c969ce87695af7d0c0a86182e283f0cd726.zip
Fix StyledCommunityLink props
-rw-r--r--packages/website/ts/@next/pages/community.tsx6
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/website/ts/@next/pages/community.tsx b/packages/website/ts/@next/pages/community.tsx
index eb3e7210d..a259e3438 100644
--- a/packages/website/ts/@next/pages/community.tsx
+++ b/packages/website/ts/@next/pages/community.tsx
@@ -253,9 +253,11 @@ const EventContent = styled.div`
padding: 30px 30px;
`;
-// Community Links
+interface StyledCommunityLinkProps {
+ bgColor: string;
+}
const StyledCommunityLink = styled.a`
- background-color: ${(props: CommunityLinkProps) => props.bgColor};
+ background-color: ${(props: StyledCommunityLinkProps) => props.bgColor};
color: ${colors.white};
width: 175px;
height: 175px;