@@ -46,7 +78,7 @@ const App = (): React.ReactElement => {
- >
+
);
};
diff --git a/src/pages/HomePage/HomePage.tsx b/src/pages/HomePage/HomePage.tsx
index 9c3eefb..4129105 100644
--- a/src/pages/HomePage/HomePage.tsx
+++ b/src/pages/HomePage/HomePage.tsx
@@ -1,8 +1,57 @@
import { RouteComponentProps } from '@reach/router';
import React from 'react';
+import { useQuery, useSubscription, gql } from '@apollo/client';
+
+const QUERY =
+ gql`
+ query ac {
+ aircraft {
+ id
+ name
+ registration
+ }
+ }`;
+const SUB =
+ gql`
+ subscription acAdd {
+ aircraftAdded {
+ id
+ name
+ registration
+ }
+ }`;
+
const HomePage: React.FunctionComponent