Skip to content

Commit

Permalink
remove unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
interim17 committed Nov 16, 2023
1 parent ea0fc3d commit 611c554
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions examples/Viewer.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useCallback } from "react";
import React from "react";
import { isEqual, findIndex, map, reduce } from "lodash";

import type {
Expand Down Expand Up @@ -88,7 +88,6 @@ interface ViewerState {
name: string;
data: ISimulariumFile | null;
} | null;
isRecording: boolean;
trajectoryTitle: string;
}

Expand Down Expand Up @@ -622,18 +621,7 @@ class Viewer extends React.Component<InputParams, ViewerState> {
});
};

////// DOWNLOAD MOVIES FUNCTIONS AND PROPS

public setIsRecording = (isRecording: boolean) => {
this.setState({
...this.state,
isRecording: isRecording });
}

public getCurrentFrame = () => {
return this.state.currentFrame;
}

////// DOWNLOAD MOVIES PROP ///////
public getTrajectoryTitle = (): string => {
if (this.state.trajectoryTitle) {
return this.state.trajectoryTitle;
Expand Down

0 comments on commit 611c554

Please sign in to comment.