Skip to content

Commit fa07b38

Browse files
fix: keep React import as value (not type-only) for JSX
React needs to be imported as a value for JSX when tsconfig jsx is set to 'react'
1 parent 21b0530 commit fa07b38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/NotebookPicker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { NotebookPanel } from '@jupyterlab/notebook'
33
import { HTMLSelect } from '@jupyterlab/ui-components'
44
import { type Message, MessageLoop } from '@lumino/messaging'
55
import { Widget } from '@lumino/widgets'
6-
import type React from 'react'
6+
import React from 'react'
77
import { deepnoteMetadataSchema } from '../types'
88

99
export class NotebookPicker extends ReactWidget {

0 commit comments

Comments
 (0)