diff --git a/components/layout/HeaderBanner.tsx b/components/layout/HeaderBanner.tsx index 24d5d933f..dd0e52961 100644 --- a/components/layout/HeaderBanner.tsx +++ b/components/layout/HeaderBanner.tsx @@ -1,6 +1,5 @@ import Image from "next/image"; -import { Flex } from "@chakra-ui/layout"; -import { chakra } from "@chakra-ui/system"; +import { Box, Flex } from "@chakra-ui/layout"; import { useMyTheme } from "hooks/common"; const HeaderBanner = ({ @@ -24,7 +23,7 @@ const HeaderBanner = ({ mb={2} h={12} > - + {`${icon} - - + + {title} - - + + {subtitle} - + ); }; diff --git a/components/plus/PlusHomePage.tsx b/components/plus/PlusHomePage.tsx index 1c5552241..26e4d60e1 100644 --- a/components/plus/PlusHomePage.tsx +++ b/components/plus/PlusHomePage.tsx @@ -3,7 +3,6 @@ import { Alert, AlertDescription, AlertTitle, - chakra, Radio, RadioGroup, } from "@chakra-ui/react"; @@ -66,24 +65,24 @@ const PlusHomePage = ({ suggestions, statuses }: PlusHomePageProps) => { Vouching status {plusStatusData?.canVouchAgainAfter && ( - + Can vouch again after:{" "} {new Date( plusStatusData.canVouchAgainAfter ).toLocaleDateString()} - + )} {plusStatusData?.voucher && ( - + Vouched for +{plusStatusData.vouchTier} by{" "} {getFullUsername(plusStatusData.voucher)} - + )} {vouchedPlusStatusData && ( - + Vouched {getFullUsername(vouchedPlusStatusData.user)} to{" "} +{vouchedPlusStatusData.vouchTier} - + )} diff --git a/components/plus/PlusVotingHistoryPage.tsx b/components/plus/PlusVotingHistoryPage.tsx index 1ba3e504c..791fd744f 100644 --- a/components/plus/PlusVotingHistoryPage.tsx +++ b/components/plus/PlusVotingHistoryPage.tsx @@ -18,7 +18,6 @@ import { } from "../../services/plus"; import { Select } from "@chakra-ui/select"; import { useRouter } from "next/router"; -import { chakra } from "@chakra-ui/system"; export interface PlusVotingHistoryPageProps { summaries: VotingSummariesByMonthAndTier; @@ -97,13 +96,14 @@ const PlusVotingHistoryPage = ({ {getCount("NA", summary.countsNA).map((count, i, arr) => ( <> - {count} - + {i !== arr.length - 1 && <>/} ))} @@ -111,13 +111,14 @@ const PlusVotingHistoryPage = ({ {getCount("EU", summary.countsEU).map((count, i, arr) => ( <> - {count} - + {i !== arr.length - 1 && <>/} ))}