From 03ddd07ed81f7540dd5adff0327ad1296c5cadc6 Mon Sep 17 00:00:00 2001 From: Mateusz Kwasniewski Date: Thu, 6 Jul 2023 19:14:32 +0200 Subject: [PATCH] feat: no results on playground error (#4170) --- .../component/playground/Playground/AdvancedPlayground.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/frontend/src/component/playground/Playground/AdvancedPlayground.tsx b/frontend/src/component/playground/Playground/AdvancedPlayground.tsx index d618ffbdef..e6649c68c6 100644 --- a/frontend/src/component/playground/Playground/AdvancedPlayground.tsx +++ b/frontend/src/component/playground/Playground/AdvancedPlayground.tsx @@ -56,7 +56,7 @@ export const AdvancedPlayground: VFC<{ const { setToastData } = useToast(); const [searchParams, setSearchParams] = useSearchParams(); const searchParamsLength = Array.from(searchParams.entries()).length; - const { evaluateAdvancedPlayground, loading } = usePlaygroundApi(); + const { evaluateAdvancedPlayground, loading, errors } = usePlaygroundApi(); const [hasFormBeenSubmitted, setHasFormBeenSubmitted] = useState(false); useEffect(() => { @@ -275,7 +275,10 @@ export const AdvancedPlayground: VFC<{ elseShow={ <>