Skip to content

Commit 6ee34ef

Browse files
authored
Update App.tsx
1 parent 6ae275c commit 6ee34ef

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/App.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ const customItems: DndItem[] = [
357357
]
358358

359359
function App() {
360-
const [value, setValue] = useStore<DndState>('dnd-test-4', createDndState())
360+
const [value, setValue] = useStore<DndState>('dnd-test-5', createDndState())
361361
const [submission, setSubmission] = useStore<DndState>('submission', createDndState())
362362
const theme = React.useMemo(
363363
() => createMuiTheme({ typography: { fontFamily: '"Poppins", sans-serif' } }),
@@ -445,7 +445,8 @@ function App() {
445445
<ThemeProvider theme={theme}>
446446
<CssBaseline />
447447
<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
449450
smartyTags={smartyTags}
450451
state={value}
451452
items={[...Object.values(Groups), ...Object.values(Blocks), ...customItems]}
@@ -456,7 +457,7 @@ function App() {
456457
/>
457458
<MuiButton type="submit" form="intake-form" value="Submit">
458459
Submit
459-
</MuiButton>
460+
</MuiButton> -->
460461
</Box>
461462
</ThemeProvider>
462463
)

0 commit comments

Comments
 (0)