mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-09-30 23:27:55 -05:00
fix type error
This commit is contained in:
@@ -26,7 +26,11 @@ import { getAllTeams, GetAllTeamsData } from "prisma/queries/getAllTeams";
|
||||
import { useState } from "react";
|
||||
import { FiSearch } from "react-icons/fi";
|
||||
|
||||
const TeamsPage = ({ teams }: { teams: GetAllTeamsData }) => {
|
||||
interface Props {
|
||||
teams: GetAllTeamsData;
|
||||
}
|
||||
|
||||
const TeamsPage = ({ teams }: Props) => {
|
||||
const { gray } = useMyTheme();
|
||||
const [user] = useUser();
|
||||
const [showOnlyRecruiting, setShowOnlyRecruiting] = useState(false);
|
||||
|
||||
@@ -7,9 +7,8 @@ import {
|
||||
PopoverTrigger,
|
||||
Select,
|
||||
} from "@chakra-ui/react";
|
||||
import { t, Trans } from "@lingui/macro";
|
||||
import { Trans } from "@lingui/macro";
|
||||
import { useLingui } from "@lingui/react";
|
||||
import Breadcrumbs from "components/common/Breadcrumbs";
|
||||
import ModeSelector from "components/common/ModeSelector";
|
||||
import SubText from "components/common/SubText";
|
||||
import WeaponImage from "components/common/WeaponImage";
|
||||
|
||||
Reference in New Issue
Block a user