myheads for plus

This commit is contained in:
Kalle (Sendou)
2021-03-04 11:27:47 +02:00
parent 002ec3e2f3
commit d7ab271f93
2 changed files with 4 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ import {
RadioGroup,
} from "@chakra-ui/react";
import { Trans } from "@lingui/macro";
import MyHead from "components/common/MyHead";
import SubText from "components/common/SubText";
import { useUser } from "hooks/common";
import { usePlus } from "hooks/plus";
@@ -36,6 +37,7 @@ const PlusHomePage = ({ suggestions, statuses }: PlusHomePageProps) => {
return (
<>
<MyHead title="Plus Server" />
<Box fontSize="sm" mb={4}>
<VotingInfoHeader isMember={!!plusStatusData?.membershipTier} />
</Box>

View File

@@ -2,6 +2,7 @@ import { Box } from "@chakra-ui/layout";
import { Select } from "@chakra-ui/select";
import { Trans } from "@lingui/macro";
import { PlusRegion } from "@prisma/client";
import MyHead from "components/common/MyHead";
import MyLink from "components/common/MyLink";
import {
Table,
@@ -32,6 +33,7 @@ const PlusVotingHistoryPage = ({
const router = useRouter();
return (
<>
<MyHead title="Voting History" />
<Select
onChange={(e) => {
router.replace(`/plus/history/${e.target.value}`);