Package cleanup & transition to latest apollo.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { useQuery } from "@apollo/react-hooks";
|
||||
import { useQuery } from "@apollo/client";
|
||||
import React, { useEffect } from "react";
|
||||
import { connect } from "react-redux";
|
||||
import AlertComponent from "../../components/alert/alert.component";
|
||||
@@ -23,7 +23,7 @@ export function TechPageContainer({ setBodyshop, match }) {
|
||||
|
||||
if (loading)
|
||||
return <LoadingSpinner message={t("general.labels.loadingshop")} />;
|
||||
if (error) return <AlertComponent message={error.message} type='error' />;
|
||||
if (error) return <AlertComponent message={error.message} type="error" />;
|
||||
return <TechPage match={match} />;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user