(tool: string)
| 37 | }); |
| 38 | |
| 39 | function isPropertyTool(tool: string): tool is ToolKey { |
| 40 | return ["pen", "eraser", "rectangle", "ellipse", "line", "arrow"].includes( |
| 41 | tool |
| 42 | ); |
| 43 | } |
| 44 | |
| 45 | const ToolSettingsSidebar = () => { |
| 46 | const selectedTool = useStateStore((state) => state.selectedTool); |
no outgoing calls
no test coverage detected