Commit 82f1bce5 authored by Daniel Hochman's avatar Daniel Hochman
Browse files

re-add error

parent 175bf909
No related merge requests found
Showing with 2 additions and 1 deletion
+2 -1
......@@ -6,7 +6,7 @@ import styled from "styled-components";
import { AccordionGroup } from "../accordion";
import { Button } from "../button";
import { useWizardContext } from "../Contexts";
import { Error } from "../error";
import { CompressedError, Error } from "../error";
import { HorizontalRule } from "../horizontal-rule";
import Loadable from "../loading";
......@@ -93,6 +93,7 @@ const Resolver: React.FC<ResolverProps> = ({ type, searchLimit, onResolve, varia
<Error message={state.schemaFetchError} onRetry={() => loadSchemas(type, dispatch)} />
) : (
<Loadable variant="overlay" isLoading={state.resolverLoading}>
<CompressedError title="Error" message={state.resolverFetchError} />
{(variant === "dual" || variant === "query") && (
<Form
onSubmit={queryValidation.handleSubmit(() => submitHandler(queryData))}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment