mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01: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,
|
||||
"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…
Reference in New Issue
Block a user