Skip to content

Commit f1453a9

Browse files
committed
update docusaurus
1 parent f66ec40 commit f1453a9

File tree

6 files changed

+3
-7
lines changed

6 files changed

+3
-7
lines changed

website/eslint.config.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ export default tseslint.config(
5050
...eslintPluginReactHooks.configs.recommended.rules,
5151

5252
'react/jsx-sort-props': ['error', { callbacksLast: true, shorthandFirst: true }],
53+
'react/react-in-jsx-scope': 'off',
5354

5455
'prefer-template': 'error',
5556
'no-nested-ternary': 'error',

website/src/components/GithubStats.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import React from 'react';
2-
31
export const GithubStats = () => {
42
return (
53
<div className="flex items-center gap-0.5">

website/src/components/MainTitle.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import React from 'react';
21
import Tilt from 'react-parallax-tilt';
32

43
import { useColorMode } from '@docusaurus/theme-common';

website/src/components/Note.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useState } from 'react';
1+
import { useState } from 'react';
22
import AnimateHeight from 'react-animate-height';
33

44
type NoteProps = {

website/src/components/Rule.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import React from 'react';
2-
31
type RuleProps = {
42
href: string;
53
};

website/src/components/TableOfContents.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useState } from 'react';
1+
import { useState } from 'react';
22

33
import { TOCItem } from '@docusaurus/mdx-loader';
44
import TOCInline from '@theme/TOCInline';

0 commit comments

Comments
 (0)