From 53d35264e4941cd347793e0fcb992541680f2140 Mon Sep 17 00:00:00 2001 From: Sambo Chea Date: Sun, 8 Aug 2021 11:00:39 +0700 Subject: [PATCH] Task: Fixed websocket for subscriptions in DGS framework and add netflix dgs subscription websocket autoconfigure --- frontend/src/App.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index d738a4c..4a27ad9 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -42,7 +42,7 @@ const HELLO = gql` function App() { // const {error, loading, data} = useQuery(ACCOUNTS) const {error, loading, data} = useSubscription(HELLO) - + console.log(data) return ( <>

Accounts

@@ -56,7 +56,7 @@ function App() { // // ) // ) -

data

+

{`${data.hello}`}

} );