Skip to content

Commit d7736cf

Browse files
committed
Feat: bound seat click handler
1 parent 5c1618f commit d7736cf

File tree

22 files changed

+144
-78
lines changed

22 files changed

+144
-78
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@
2323
"keywords": [
2424
"Designer",
2525
"Seats",
26-
"Layout"
26+
"Layout",
27+
"Hall arrangement",
28+
"Editor"
2729
],
2830
"author": "Akalanka Perera, Miyuru Gunarathna",
2931
"license": "MIT",

src/components/controls/index.jsx renamed to src/components/controls/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ const transition = "transition-all duration-500";
1717
const width = "w-[22rem]";
1818

1919
const Controls = () => {
20-
const open = useSelector((state) => state.editor.showControls);
21-
const selectedTool = useSelector((state) => state.toolbar.selectedTool);
22-
const selectedElementIds = useSelector((state) => state.editor.selectedElementIds);
20+
const open = useSelector((state: any) => state.editor.showControls);
21+
const selectedTool = useSelector((state: any) => state.toolbar.selectedTool);
22+
const selectedElementIds = useSelector((state: any) => state.editor.selectedElementIds);
2323

2424
const ControlComponent = useMemo(() => {
2525
if (selectedTool === Tool.Select) {
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)