[lint][lg]: fix lint errors

This commit is contained in:
Tavares Hansen
2020-08-04 19:33:00 -07:00
parent 2a4e55965e
commit 587d820747
32 changed files with 223 additions and 153 deletions

View File

@@ -7,7 +7,7 @@ import About from '../../../../../components/resource/About';
import DataExplorer from '../../../../../components/resource/DataExplorer';
import { GET_RESOURCES_QUERY } from '../../../../../graphql/queries';
function Resource({ variables }) {
const Resource: React.FC<{ variables: any }> = ({ variables }) => {
const { data, loading } = useQuery(GET_RESOURCES_QUERY, { variables });
if (loading) return <div>Loading</div>;
@@ -32,7 +32,7 @@ function Resource({ variables }) {
</main>
</>
);
}
};
export const getServerSideProps: GetServerSideProps = async (context) => {
const apolloClient = initializeApollo();