Skip to content

Commit 693e129

Browse files
AmirMohammad CheraghaliAmirMohammad Cheraghali
authored andcommitted
fix: Remove unused currentRotation variable causing TypeScript build error
1 parent c7225ff commit 693e129

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/components/ProteinViewer.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2530,7 +2530,6 @@ export const ProteinViewer = forwardRef<ProteinViewerRef, ProteinViewerProps>(({
25302530
const angle = Math.sin((elapsed / period) * 2 * Math.PI) * maxAngle;
25312531

25322532
// Apply rotation around Y-axis
2533-
const currentRotation = stage.viewerControls.getOrientation();
25342533
const newRotation = new window.NGL.Matrix4();
25352534
newRotation.makeRotationY(angle);
25362535

0 commit comments

Comments
 (0)