File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -357,7 +357,7 @@ const customItems: DndItem[] = [
357
357
]
358
358
359
359
function App ( ) {
360
- const [ value , setValue ] = useStore < DndState > ( 'dnd-test-4 ' , createDndState ( ) )
360
+ const [ value , setValue ] = useStore < DndState > ( 'dnd-test-5 ' , createDndState ( ) )
361
361
const [ submission , setSubmission ] = useStore < DndState > ( 'submission' , createDndState ( ) )
362
362
const theme = React . useMemo (
363
363
( ) => createMuiTheme ( { typography : { fontFamily : '"Poppins", sans-serif' } } ) ,
@@ -445,7 +445,8 @@ function App() {
445
445
< ThemeProvider theme = { theme } >
446
446
< CssBaseline />
447
447
< Box position = "absolute" top = { 0 } right = { 0 } bottom = { 0 } left = { 0 } >
448
- < Renderer
448
+ < DndEditor smartyTags = { smartyTags } items = { [ ...Object . values ( Groups ) , ...Object . values ( Blocks ) , ...customItems ] } value = { value } onChange = { setValue } />
449
+ <!-- <Renderer
449
450
smartyTags={ smartyTags }
450
451
state={ value }
451
452
items={ [ ...Object . values ( Groups ) , ...Object . values ( Blocks ) , ...customItems ] }
@@ -456,7 +457,7 @@ function App() {
456
457
/>
457
458
< MuiButton type = "submit" form = "intake-form" value = "Submit" >
458
459
Submit
459
- </ MuiButton >
460
+ </ MuiButton > -- >
460
461
</ Box >
461
462
</ ThemeProvider >
462
463
)
You can’t perform that action at this time.
0 commit comments