From 1f00a3bd43146a7b9570239b996522720f52ca52 Mon Sep 17 00:00:00 2001 From: blam Date: Tue, 6 Sep 2022 09:04:57 +0200 Subject: [PATCH] chore: fixing the typescript stuff Signed-off-by: blam --- .../src/components/GraphiQLPage/GraphiQLPage.jsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/plugins/graphiql/src/components/GraphiQLPage/GraphiQLPage.jsx b/plugins/graphiql/src/components/GraphiQLPage/GraphiQLPage.jsx index 4608278805..b7f78f34c6 100644 --- a/plugins/graphiql/src/components/GraphiQLPage/GraphiQLPage.jsx +++ b/plugins/graphiql/src/components/GraphiQLPage/GraphiQLPage.jsx @@ -55,10 +55,17 @@ export const GraphiQLPage = () => { ); + } else if (!endpoints.value) { + content = ( + + + No GraphQL endpoints available + + + ); } else { content = ( - {/* @ts-expect-error */} );