removed import in every class, try to update react

This commit is contained in:
JubaAzul 2025-01-16 10:40:27 -05:00
parent bf97931995
commit 159ed5fa5c
6 changed files with 167 additions and 235 deletions

390
client/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -29,8 +29,8 @@
"katex": "^0.16.11", "katex": "^0.16.11",
"marked": "^14.1.2", "marked": "^14.1.2",
"nanoid": "^5.0.2", "nanoid": "^5.0.2",
"react": "^18.3.1", "react": "^19.0.0",
"react-dom": "^18.3.1", "react-dom": "^19.0.0",
"react-modal": "^3.16.1", "react-modal": "^3.16.1",
"react-router-dom": "^6.26.2", "react-router-dom": "^6.26.2",
"remark-math": "^6.0.0", "remark-math": "^6.0.0",

View file

@ -1,5 +1,3 @@
// @ts-expect-error: Required for pipeline compatibility
import React from 'react';
import { render } from '@testing-library/react'; import { render } from '@testing-library/react';
import '@testing-library/jest-dom'; import '@testing-library/jest-dom';
import { MultipleChoice } from '../../../../components/GiftTemplate/templates'; import { MultipleChoice } from '../../../../components/GiftTemplate/templates';

View file

@ -1,5 +1,3 @@
// @ts-expect-error : Required for pipeline compatibility
import React from 'react';
import { render } from '@testing-library/react'; import { render } from '@testing-library/react';
import '@testing-library/jest-dom'; import '@testing-library/jest-dom';
import Numerical from '../../../../components/GiftTemplate/templates/Numerical'; import Numerical from '../../../../components/GiftTemplate/templates/Numerical';

View file

@ -1,5 +1,3 @@
// @ts-expect-error: Required for pipeline compatibility
import React from 'react';
import { render } from '@testing-library/react'; import { render } from '@testing-library/react';
import '@testing-library/jest-dom'; import '@testing-library/jest-dom';
import ShortAnswer from '../../../../components/GiftTemplate/templates/ShortAnswer'; import ShortAnswer from '../../../../components/GiftTemplate/templates/ShortAnswer';

View file

@ -1,5 +1,3 @@
// @ts-expect-error: Required for pipeline compatibility
import React from 'react';
import { render } from '@testing-library/react'; import { render } from '@testing-library/react';
import '@testing-library/jest-dom'; import '@testing-library/jest-dom';
import TrueFalse from '../../../../components/GiftTemplate/templates'; import TrueFalse from '../../../../components/GiftTemplate/templates';