Fix warning with first-child

This commit is contained in:
Kalle (Sendou) 2021-10-25 14:49:52 +03:00
parent d3a14d77da
commit ea274074f5
2 changed files with 2 additions and 3 deletions

View File

@ -13,11 +13,11 @@ const _Header = styled.header`
align-items: center;
padding: 1rem;
& > :first-child {
& > :first-of-type {
justify-self: flex-start;
}
& > :last-child {
& > :last-of-type {
justify-self: flex-end;
}
`;

View File

@ -7,6 +7,5 @@ export default function TournamentPage() {
const { data, error } = useSWR(
`/tournaments/${router.query.organization}/${router.query.tournament}`
);
console.log("error", error);
return <InfoBanner />;
}