This commit is contained in:
Olivier Gagnon
2022-05-25 11:43:43 -04:00
parent 6fef46d5df
commit 76ccb0ba36
25 changed files with 38 additions and 41 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ interface IProps {
export function Programs(props: IProps): React.ReactElement {
const [program, setProgram] = useState("NUKE.exe");
function setProgramDropdown(event: SelectChangeEvent<string>): void {
setProgram(event.target.value as string);
setProgram(event.target.value );
}
function addProgram(): void {
if (!props.player.hasProgram(program)) {