Skip to content

Commit

Permalink
Update AlgoScreen.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Lucian Tash committed Sep 5, 2024
1 parent e49bfa7 commit da3d0b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/screens/AlgoScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const AlgoScreen = ({ theme, toggleTheme }) => {
ReactGA.send({ hitType: 'pageview', page: algoName });

if (algoDetails) {
const [menuDisplayName, AlgoClass, hasPseudoCode, verboseDisplayName] = algoDetails;
const [_menuDisplayName, AlgoClass, _hasPseudoCode, _verboseDisplayName] = algoDetails;

animManagRef.current = new AnimationManager(canvasRef, animBarRef);

Expand Down Expand Up @@ -85,7 +85,7 @@ const AlgoScreen = ({ theme, toggleTheme }) => {
return <AlgorithmNotFound404 />;
}

const [menuDisplayName, AlgoClass, hasPseudoCode, verboseDisplayName] = algoDetails;
const [menuDisplayName, _AlgoClass, hasPseudoCode, verboseDisplayName] = algoDetails;
const isQuickselect = menuDisplayName === 'Quickselect / kᵗʰ Select';
const header = verboseDisplayName || menuDisplayName;

Expand Down

0 comments on commit da3d0b0

Please sign in to comment.