Skip to content

Commit

Permalink
chore: remove unused imports
Browse files Browse the repository at this point in the history
May have to add eslint plugin for this...
  • Loading branch information
tsa96 committed Nov 23, 2024
1 parent a528639 commit d162611
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 7 deletions.
3 changes: 1 addition & 2 deletions scripts/hud/map-info.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { PanelHandler } from 'util/module-helpers';
import { getNumZones, getTrack } from 'common/leaderboard';
import { MapCreditType } from 'common/web';
import { getAllCredits, getAuthorNames } from '../common/maps';
import { getAuthorNames } from '../common/maps';

@PanelHandler()
class HudMapInfoHandler {
Expand Down
1 change: 0 additions & 1 deletion scripts/hud/spectate.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { PanelHandler } from 'util/module-helpers';
import { RunEntityType } from 'common/timer';

@PanelHandler()
class HudSpectateHandler {
Expand Down
1 change: 0 additions & 1 deletion scripts/hud/speedometer.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { PanelHandler } from 'util/module-helpers';
import { tupleToRgbaString } from 'util/colors';
import { SpeedometerColorType, SpeedometerType } from 'common/speedometer';
import { TimerState_OLD } from 'common/timer';

// arbitrary value to determine how much speed needs to change to be considered an increase/decrease
// adjusted by speedometer update delta time
Expand Down
4 changes: 2 additions & 2 deletions scripts/pages/map-selector/map-entry.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { PanelHandler } from 'util/module-helpers';
import * as Enum from 'util/enum';
import { MapStatuses, Gamemode, MapStatus, TrackType } from 'common/web';
import { MapStatuses, Gamemode, MapStatus } from 'common/web';
import { GamemodeInfo } from 'common/gamemode';
import { getTrack, getUserMapDataTrack } from 'common/leaderboard';
import { getUserMapDataTrack } from 'common/leaderboard';
import { timetoHHMMSS } from 'util/time';
import { getTier } from 'common/maps';

Expand Down
2 changes: 1 addition & 1 deletion scripts/pages/map-selector/map-selector.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { OnPanelLoad, PanelHandler } from 'util/module-helpers';
import { traverseChildren } from 'util/functions';
import { MapStatuses, MapCreditType, MapStatus, MapImage, MMap, MapStats } from 'common/web';
import { MapStatuses, MapCreditType, MapStatus, MMap, MapStats } from 'common/web';
import { ToastCreateArgs, ToastManager, ToastStyle } from 'util/toast-manager';
import * as Maps from 'common/maps';
import * as Leaderboards from 'common/leaderboard';
Expand Down

0 comments on commit d162611

Please sign in to comment.