fix(website): failing build due to failure to import React

pull/6601/head
Christopher Kolstad 2 months ago
parent e4af2fbcd5
commit a3d06bd57f
No known key found for this signature in database
GPG Key ID: D9041DC670F032F3
  1. 3
      biome.json
  2. 6
      website/src/components/ApiRequest/index.tsx
  3. 6
      website/src/components/Figure/Figure.tsx
  4. 1
      website/src/components/VideoContent.jsx
  5. 1
      website/src/components/unleash-academy/Banner.jsx
  6. 1
      website/src/components/unleash-academy/CourseBanner.jsx
  7. 1
      website/src/components/unleash-academy/Links.jsx
  8. 1
      website/src/icons/close.tsx

@ -6,7 +6,8 @@
"recommended": true,
"correctness": {
"noUnsafeOptionalChaining": "off",
"useExhaustiveDependencies": "off"
"useExhaustiveDependencies": "off",
"noUnusedImports": "warn"
},
"complexity": {
"noBannedTypes": "off",

@ -8,8 +8,10 @@
be necessary to separate into multiple components based on request
types, for instance.
**/
import type React from 'react';
**/
// biome-ignore lint/style/useImportType: <explanation>
import React from 'react';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
import CodeBlock from '@theme/CodeBlock';

@ -61,8 +61,10 @@
**separate** information to what the fig caption does.
**/
import type React from 'react';
**/
// biome-ignore lint/style/useImportType: <explanation>
import React from 'react';
import useBaseUrl from '@docusaurus/useBaseUrl';
import './styles.module.css';

@ -1,3 +1,4 @@
// biome-ignore lint/correctness/noUnusedImports: Needs this for React to work
import React from 'react';
import Admonition from '@theme/Admonition';

@ -1,3 +1,4 @@
// biome-ignore lint/correctness/noUnusedImports: Needs this for React to work
import React from 'react';
const Component = () => {

@ -1,3 +1,4 @@
// biome-ignore lint/correctness/noUnusedImports: Needs this for React to work
import React from 'react';
const Component = ({ level, description }) => {

@ -1,3 +1,4 @@
// biome-ignore lint/correctness/noUnusedImports: Needs this for React to work
import React from 'react';
import Link from '@docusaurus/Link';

@ -1,3 +1,4 @@
// biome-ignore lint/correctness/noUnusedImports: Needs this for React to work
import React from 'react';
import styles from './styles.module.css';

Loading…
Cancel
Save