File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import { isMobile } from '~/utils/mobile';
2323import { FileBreadcrumb } from './FileBreadcrumb' ;
2424import { FileTree } from './FileTree' ;
2525import { Terminal , type TerminalRef } from './terminal/Terminal' ;
26+ import React from 'react' ;
2627
2728interface EditorPanelProps {
2829 files ?: FileMap ;
@@ -203,7 +204,7 @@ export const EditorPanel = memo(
203204 const isActive = activeTerminal === index ;
204205
205206 return (
206- < >
207+ < React . Fragment key = { index } >
207208 { index == 0 ? (
208209 < button
209210 key = { index }
@@ -222,7 +223,7 @@ export const EditorPanel = memo(
222223 Bolt Terminal
223224 </ button >
224225 ) : (
225- < >
226+ < React . Fragment >
226227 < button
227228 key = { index }
228229 className = { classNames (
@@ -238,9 +239,9 @@ export const EditorPanel = memo(
238239 < div className = "i-ph:terminal-window-duotone text-lg" />
239240 Terminal { terminalCount > 1 && index }
240241 </ button >
241- </ >
242+ </ React . Fragment >
242243 ) }
243- </ >
244+ </ React . Fragment >
244245 ) ;
245246 } ) }
246247 { terminalCount < MAX_TERMINALS && < IconButton icon = "i-ph:plus" size = "md" onClick = { addTerminal } /> }
You can’t perform that action at this time.
0 commit comments