Skip to content

Commit 0b0bce9

Browse files
committed
[site] react-jsx
1 parent e2baae7 commit 0b0bce9

10 files changed

Lines changed: 1 addition & 10 deletions

File tree

site/tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"removeComments": true,
88
"target": "ESNext",
99
"module": "NodeNext",
10-
"jsx": "react",
10+
"jsx": "react-jsx",
1111
"moduleResolution": "NodeNext",
1212
"allowSyntheticDefaultImports": true,
1313
"types": ["node"],

site/ui/ArticleInner.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 type {NoPropComponent} from 'tinydocs';
32
import {NodeBreadcrumbs, NodeSection, usePageNode, useRootNode} from 'tinydocs';
43

site/ui/ExecutablePen.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import prettier from '@prettier/sync';
2-
import React from 'react';
32
import type {NoPropComponent} from 'tinydocs';
43
import {usePageNode} from 'tinydocs';
54

site/ui/Footer.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/* eslint-disable react/jsx-no-target-blank */
2-
import React from 'react';
32
import type {NoPropComponent} from 'tinydocs';
43

54
export const Footer: NoPropComponent = () => (

site/ui/Header.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 type {NoPropComponent} from 'tinydocs';
32
import {NodeChildren, useRootNode} from 'tinydocs';
43
import {useMetadata} from './BuildContext.tsx';

site/ui/Home.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 type {NoPropComponent} from 'tinydocs';
32
import {Markdown, usePageNode} from 'tinydocs';
43
import {useReadme} from './Readme.tsx';

site/ui/Main.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 type {NoPropComponent} from 'tinydocs';
32
import {NodeNavigation, useIsSingle, usePageNode, useRootNode} from 'tinydocs';
43
import {ArticleInner} from './ArticleInner.tsx';

site/ui/NavJson.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 type {NoPropComponent, Node} from 'tinydocs';
32
import {
43
getSkippedChildren,

site/ui/Page.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 type {NoPropComponent} from 'tinydocs';
32
import {
43
NodeSummary,

site/ui/Readme.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 type {NoPropComponent, Node} from 'tinydocs';
32
import {Markdown, usePageNode} from 'tinydocs';
43
import type {ModulesSizes} from './BuildContext.tsx';

0 commit comments

Comments
 (0)