Skip to content

Commit 0ae9508

Browse files
committed
able to render Next.js & Gatsby selection
1 parent d28d3e9 commit 0ae9508

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/src/components/right/ComponentPanelRoutingItem.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ import { useDrag } from 'react-dnd';
66
import { ItemTypes } from '../../constants/ItemTypes';
77
import Select from '@material-ui/core/Select';
88

9+
// ------------------------------------------------
10+
import MenuItem from '@material-ui/core/MenuItem';
11+
// ------------------------------------------------
12+
913
/*
1014
N.B.: RENDERED ONLY IN NEXT.JS MODE
1115
@@ -21,7 +25,7 @@ Dragging works in the same manner as in ComponentPanelItem.tsx
2125
*/
2226
// a component panel routing item is a Next.js component that allows the user to navigate between pages
2327
const ComponentPanelRoutingItem: React.FC<{}> = () => {
24-
const classes = useStyles();'s there, '
28+
const classes = useStyles(); 's there, '
2529
const [state,] = useContext(StateContext);
2630

2731
// find the root components that can be associated with a route

0 commit comments

Comments
 (0)