fix some old lint errors!

This commit is contained in:
Emi Matchu 2020-09-11 23:27:23 -07:00
parent 36d9c5a4ea
commit a52bd3e3bb
2 changed files with 3 additions and 4 deletions

View file

@ -1,5 +1,5 @@
import React from "react"; import React from "react";
import { Box } from "@chakra-ui/core"; import { Box, Center } from "@chakra-ui/core";
import gql from "graphql-tag"; import gql from "graphql-tag";
import { useParams } from "react-router-dom"; import { useParams } from "react-router-dom";
import { useQuery } from "@apollo/client"; import { useQuery } from "@apollo/client";
@ -59,9 +59,9 @@ function UserItemsPage() {
if (loading) { if (loading) {
return ( return (
<Box display="flex" justifyContent="center"> <Center>
<HangerSpinner /> <HangerSpinner />
</Box> </Center>
); );
} }

View file

@ -24,7 +24,6 @@ function ItemCard({ item, badges, ...props }) {
p="2" p="2"
boxShadow="lg" boxShadow="lg"
borderRadius="lg" borderRadius="lg"
width="400px"
border="1px" border="1px"
borderColor={borderColor} borderColor={borderColor}
className="item-card" className="item-card"