fix question query load

This commit is contained in:
João Geonizeli
2022-07-21 21:51:41 -03:00
parent 386050d4ad
commit a2a3b3219c
19 changed files with 229 additions and 4930 deletions

View File

@@ -3,7 +3,6 @@ import { gql } from "@apollo/client";
import { Card } from "../../../components";
import { Question } from "../../../__generated__/graphql-schema";
import { loadWIRISplugin } from "../../../utils/plugins";
import { BLOOM_TAXONOMY, DIFFICULTY } from "../../../utils/types";
export const ViewModeFragments = gql`
@@ -67,8 +66,6 @@ export const ViewMode: FC<Props> = ({ questionData: question }) => {
const difficulty = DIFFICULTY.find((item) => question.difficulty === item.value)?.label
const bloomTaxonomy = BLOOM_TAXONOMY.find((item) => question.bloomTaxonomy === item.value)?.label
loadWIRISplugin()
return (
<div className="max-w-screen-lg">
<Card className="mb-3" title="Características">