Skip to content

fix: resolve syntax errors and missing brace in ProteinViewer #280

fix: resolve syntax errors and missing brace in ProteinViewer

fix: resolve syntax errors and missing brace in ProteinViewer #280

Triggered via push January 1, 2026 12:48
Status Failure
Total duration 32s
Artifacts

deploy.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors
deploy
Process completed with exit code 2.
deploy: src/components/ProteinViewer.tsx#L66
Subsequent property declarations must have the same type. Property 'restoreMeasurements' must be of type '(measurements: MeasurementData[]) => void', but here has type '(measurements: { atom1: any; atom2: any; }[]) => void'.
deploy: src/components/ProteinViewer.tsx#L66
Duplicate identifier 'restoreMeasurements'.
deploy: src/components/ProteinViewer.tsx#L65
Duplicate identifier 'getMeasurements'.
deploy: src/components/ProteinViewer.tsx#L63
Duplicate identifier 'restoreMeasurements'.
deploy: src/components/ProteinViewer.tsx#L62
Duplicate identifier 'getMeasurements'.
deploy: src/App.tsx#L94
Argument of type '{ atom1: any; atom2: any; distance: number; }[]' is not assignable to parameter of type 'MeasurementData[]'.