Skip to content

Commit

Permalink
Revert "fix: a merge issue"
Browse files Browse the repository at this point in the history
This reverts commit fe9e7e9.
  • Loading branch information
pengx17 authored and tiensonqin committed Nov 29, 2022
1 parent 6411314 commit 24b3909
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tldraw/packages/react/src/components/Canvas/Canvas.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ export const Canvas = observer(function Renderer<S extends TLReactShape>({
const selectedShapesSet = React.useMemo(() => new Set(selectedShapes || []), [selectedShapes])
const erasingShapesSet = React.useMemo(() => new Set(erasingShapes || []), [erasingShapes])
const singleSelectedShape = selectedShapes?.length === 1 ? selectedShapes[0] : undefined
const selectedOrHooveredShape = hoveredShape || singleSelectedShape

return (
<div ref={rContainer} className={`tl-container ${className ?? ''}`}>
Expand Down

0 comments on commit 24b3909

Please sign in to comment.