Buy and sell robots and robot parts
Loading
; + } + const response: PartDetailsResponse = { - name: "RMD X8", - owner: "MyActuator", - description: `The RMD X8 is a quasi-direct drive motor from MyActuator.`, - images: [ - { - url: "https://media.robolist.xyz/rmd_x8.png", - caption: "Actuator 1", - }, - { - url: "https://media.robolist.xyz/rmd_x8.png", - caption: "Actuator 2", - }, - { - url: "https://media.robolist.xyz/rmd_x8.png", - caption: "Actuator 3", - }, - ], - purchase_links: [ - { - name: "RobotShop", - url: "https://www.robotshop.com/products/myactuator-rmd-x8-v3-can-bus-16-helical-mc-x-500-o-brushless-servo-driver", - price: 389, - }, - ], - used_by: [ - { - name: "Stompy", - id: "1234", - stars: 5, - }, - ], + name: part.name, + owner: part.owner, + description: part.description, + images: part.images, + purchase_links: part.purchase_links, + used_by: part.used_by, }; - const { name, owner, description, images } = response; - const navigate = useNavigate(); - return ( <>Loading
; + } + return ( <>Loading
; + } + const response: RobotDetailsResponse = { + name: robot?.name, + owner: robot?.owner, + description: robot?.description, + images: robot?.images, + bom: robot?.bom, }; const { name, owner, description, images } = response; - const navigate = useNavigate(); - return ( <>{message}
} +Loading
; + } + return ( <>