File tree 1 file changed +3
-3
lines changed
example/nextjs/src/app/merg/_editor
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
'use client' ;
2
2
3
- import { Fragment , useRef , useState } from 'react' ;
3
+ import { useRef , useState } from 'react' ;
4
4
import CodeMirrorMerge , { CodeMirrorMergeProps } from 'react-codemirror-merge' ;
5
5
import { langs } from '@uiw/codemirror-extensions-langs' ;
6
6
import { originalCode , modifiedCode } from './code' ;
@@ -26,7 +26,7 @@ export const MergeExample = () => {
26
26
setOriginalValue ( code ) ;
27
27
} ;
28
28
return (
29
- < Fragment >
29
+ < div >
30
30
< button onClick = { click } > Change Original Value { random . current } </ button >
31
31
< CodeMirrorMerge
32
32
orientation = { orientation }
@@ -100,6 +100,6 @@ export const MergeExample = () => {
100
100
onChange = { ( evn ) => setCollapseUnchanged ( evn . target . checked ? { } : undefined ) }
101
101
/>
102
102
</ label >
103
- </ Fragment >
103
+ </ div >
104
104
) ;
105
105
} ;
You can’t perform that action at this time.
0 commit comments