Skip to content

fix: removed duplicated code in ProteinViewer causing build fail #1117

fix: removed duplicated code in ProteinViewer causing build fail

fix: removed duplicated code in ProteinViewer causing build fail #1117

Triggered via push January 26, 2026 16:10
Status Failure
Total duration 40s
Artifacts

deploy.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
deploy: src/components/Controls.tsx#L1449
Cannot find name 'selectedChainForStyle'.
deploy: src/components/Controls.tsx#L1435
Cannot find name 'setSelectedStyleForChain'.
deploy: src/components/Controls.tsx#L1434
Cannot find name 'selectedStyleForChain'.
deploy: src/components/Controls.tsx#L1418
Cannot find name 'setSelectedChainForStyle'.
deploy: src/components/Controls.tsx#L1417
Cannot find name 'selectedChainForStyle'.
deploy: src/components/Controls.tsx#L488
Duplicate identifier 'setCustomColors'.
deploy: src/components/Controls.tsx#L487
Duplicate identifier 'customColors'.
deploy: src/components/Controls.tsx#L416
Duplicate identifier 'setCustomColors'.
deploy: src/components/Controls.tsx#L415
Duplicate identifier 'customColors'.
deploy: src/App.tsx#L2661
JSX elements cannot have multiple attributes with the same name.