mirror of
https://github.com/Unleash/unleash.git
synced 2025-04-19 01:17:18 +02:00
fix(website): failing build due to failure to import React
This commit is contained in:
parent
e4af2fbcd5
commit
a3d06bd57f
@ -6,7 +6,8 @@
|
|||||||
"recommended": true,
|
"recommended": true,
|
||||||
"correctness": {
|
"correctness": {
|
||||||
"noUnsafeOptionalChaining": "off",
|
"noUnsafeOptionalChaining": "off",
|
||||||
"useExhaustiveDependencies": "off"
|
"useExhaustiveDependencies": "off",
|
||||||
|
"noUnusedImports": "warn"
|
||||||
},
|
},
|
||||||
"complexity": {
|
"complexity": {
|
||||||
"noBannedTypes": "off",
|
"noBannedTypes": "off",
|
||||||
|
@ -8,8 +8,10 @@
|
|||||||
be necessary to separate into multiple components based on request
|
be necessary to separate into multiple components based on request
|
||||||
types, for instance.
|
types, for instance.
|
||||||
|
|
||||||
**/
|
**/
|
||||||
import type React from 'react';
|
|
||||||
|
// biome-ignore lint/style/useImportType: <explanation>
|
||||||
|
import React from 'react';
|
||||||
import Tabs from '@theme/Tabs';
|
import Tabs from '@theme/Tabs';
|
||||||
import TabItem from '@theme/TabItem';
|
import TabItem from '@theme/TabItem';
|
||||||
import CodeBlock from '@theme/CodeBlock';
|
import CodeBlock from '@theme/CodeBlock';
|
||||||
|
@ -61,8 +61,10 @@
|
|||||||
**separate** information to what the fig caption does.
|
**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 useBaseUrl from '@docusaurus/useBaseUrl';
|
||||||
|
|
||||||
import './styles.module.css';
|
import './styles.module.css';
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
// biome-ignore lint/correctness/noUnusedImports: Needs this for React to work
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import Admonition from '@theme/Admonition';
|
import Admonition from '@theme/Admonition';
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
// biome-ignore lint/correctness/noUnusedImports: Needs this for React to work
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
const Component = () => {
|
const Component = () => {
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
// biome-ignore lint/correctness/noUnusedImports: Needs this for React to work
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
|
||||||
const Component = ({ level, description }) => {
|
const Component = ({ level, description }) => {
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
// biome-ignore lint/correctness/noUnusedImports: Needs this for React to work
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import Link from '@docusaurus/Link';
|
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 React from 'react';
|
||||||
import styles from './styles.module.css';
|
import styles from './styles.module.css';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user