Skip to content

Commit

Permalink
maintain backward compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
Anshgrover23 committed Feb 5, 2025
1 parent 45109bc commit 1dde1cf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/CadViewer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ interface Props {
export const CadViewer = forwardRef<
THREE.Object3D,
React.PropsWithChildren<Props>
>(({ circuitJson, children, autoRotateDisabled }, ref) => {
>(({ soup, circuitJson, children, autoRotateDisabled }, ref) => {
circuitJson ??= soup
const [hoveredComponent, setHoveredComponent] = useState<null | {
cad_component_id: string
name: string
Expand Down

0 comments on commit 1dde1cf

Please sign in to comment.