We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d00b60f commit f77bbcaCopy full SHA for f77bbca
app/src/components/left/HTMLItem.tsx
@@ -126,25 +126,7 @@ const HTMLItem: React.FC<{
126
127
const dispatch = useDispatch();
128
129
- /* const handleClick = () => {
130
- console.log('Component clicked:', name);
131
- console.log('id', id);
132
- // Dispatch action to add child
133
- dispatch(
134
- addChild({
135
- type: 'HTML Element',
136
- typeId: id,
137
- childId: null,
138
- contextParam: {
139
- allContext: []
140
- }
141
- })
142
- );
143
- };*/
144
-
145
const handleClick = () => {
146
147
148
const childData = {
149
type: 'HTML Element',
150
typeId: id,
0 commit comments