Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjozork committed Sep 22, 2024
1 parent aa2d075 commit 8970755
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion src/renderer/components/App/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import { DebugSection } from 'renderer/components/DebugSection';
import { InstallerUpdate } from 'renderer/components/InstallerUpdate';
import { WindowButtons } from 'renderer/components/WindowActionButtons';
import { Addon } from 'renderer/utils/InstallerConfiguration';
import { AddonData } from 'renderer/utils/AddonData';
import { ErrorModal } from '../ErrorModal';
import { NavBar, NavBarPublisher } from 'renderer/components/App/NavBar';
import { Redirect, Route, Switch, useHistory, useLocation } from 'react-router-dom';
Expand Down
6 changes: 1 addition & 5 deletions src/renderer/utils/InstallManager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import {
FragmenterOperation,
FragmenterUpdateChecker,
getCurrentInstall,
InstallInfo,
InstallManifest,
} from '@flybywiresim/fragmenter';
import settings from 'renderer/rendererSettings';
Expand All @@ -46,7 +45,6 @@ import { IncompatibleAddOnsCheck } from 'renderer/utils/IncompatibleAddOnsCheck'
import { FreeDiskSpace, FreeDiskSpaceStatus } from 'renderer/utils/FreeDiskSpace';
import { setAddonAndTrackLatestReleaseInfo } from 'renderer/redux/features/latestVersionNames';
import { AddonData, ReleaseInfo } from 'renderer/utils/AddonData';
import { match } from 'react-router-dom';

type FragmenterEventArguments<K extends keyof FragmenterInstallerEvents | keyof FragmenterContextEvents> = Parameters<
(FragmenterInstallerEvents & FragmenterContextEvents)[K]
Expand Down Expand Up @@ -615,9 +613,7 @@ export class InstallManager {
}

public static async refreshAddonInstallState(addon: Addon): Promise<InstallState> {
let status: InstallState;

status = await this.determineAddonInstallStatus(addon);
const status = await this.determineAddonInstallStatus(addon);
this.setCurrentInstallState(addon, status);

return status;
Expand Down

0 comments on commit 8970755

Please sign in to comment.