Skip to content

Commit f8bf265

Browse files
committed
Merge branch 'rose' of https://github.com/oslabs-beta/ReacType into rose
2 parents 1eff1f8 + 559c9a7 commit f8bf265

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

app/src/components/left/ElementsContainer.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ const ElementsContainer = (props): JSX.Element => {
1818

1919
const handleDelete = () => {
2020
dispatch(deleteChild({ id: {}, contextParam: contextParam }));
21-
// if (roomCode) {
22-
// emitEvent('deleteChildAction', roomCode, {
23-
// id,
24-
// contextParam
25-
// });
26-
// }
21+
if (roomCode) {
22+
emitEvent('deleteChildAction', roomCode, {
23+
id: {},
24+
contextParam: contextParam
25+
});
26+
}
2727
};
2828

2929
const keyBindedFunc = useCallback((e) => {

0 commit comments

Comments
 (0)