Added vehicles list base page.

This commit is contained in:
Patrick Fic
2020-02-10 09:17:59 -08:00
parent cef294b65f
commit 9d9de14cf0
10 changed files with 145 additions and 10 deletions

View File

@@ -1,8 +1,8 @@
import React from "react";
import OwnersListComponent from "./owners-list.component";
import { useQuery } from "react-apollo";
import AlertComponent from "../alert/alert.component";
import { QUERY_ALL_OWNERS } from "../../graphql/owners.queries";
import AlertComponent from "../alert/alert.component";
import OwnersListComponent from "./owners-list.component";
export default function OwnersListContainer() {
const { loading, error, data, refetch } = useQuery(QUERY_ALL_OWNERS, {