diff --git a/src/Programs/ui/ProgramsRoot.tsx b/src/Programs/ui/ProgramsRoot.tsx index e67c74014..7c9f29344 100644 --- a/src/Programs/ui/ProgramsRoot.tsx +++ b/src/Programs/ui/ProgramsRoot.tsx @@ -1,5 +1,5 @@ import React, { useState, useEffect } from "react"; -import _ from "lodash"; +import { find } from "lodash"; import { Box, @@ -57,7 +57,7 @@ export function ProgramsRoot(): React.ReactElement { } const getProgCompletion = (name: string): number => { - const programFile = _.find(player.getHomeComputer().programs, p => { + const programFile = find(player.getHomeComputer().programs, p => { return (p.startsWith(name) && p.endsWith("%-INC")); }); if (!programFile) return -1;