mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-01 18:20:28 +00:00
Fix prototype addition behaviour
This commit is contained in:
@@ -69,7 +69,7 @@ const Prototype = () => {
|
||||
},
|
||||
});
|
||||
|
||||
const [getPrototype, { loading: prototypeLoading, error: prototypeError }] = useLazyQuery<
|
||||
const [getPrototype, { loading: prototypeLoading }] = useLazyQuery<
|
||||
GetPrototypeByIdQuery,
|
||||
GetPrototypeByIdQueryVariables
|
||||
>(GET_PROTOTYPE_BY_ID, {
|
||||
@@ -199,7 +199,7 @@ const Prototype = () => {
|
||||
<Spinner fullScreen color={role || 'client'} />
|
||||
);
|
||||
|
||||
if (templateError || prototypeError || !template || !prototype) return (
|
||||
if (templateError || !template) return (
|
||||
<Wrapper color={role}>
|
||||
<Box
|
||||
width='100%'
|
||||
|
||||
Reference in New Issue
Block a user