Run prettier across the react source.

This commit is contained in:
Dan Albert
2022-03-03 23:34:18 -08:00
parent 13ca5352c7
commit a710ce5e1b
30 changed files with 85 additions and 104 deletions

View File

@@ -1,7 +1,6 @@
import { PayloadAction, createSlice } from "@reduxjs/toolkit";
import { ControlPoint } from "./controlpoint";
import { RootState } from "../app/store";
import { ControlPoint } from "./controlpoint";
import { PayloadAction, createSlice } from "@reduxjs/toolkit";
interface ControlPointsState {
controlPoints: { [key: number]: ControlPoint };

View File

@@ -1,14 +1,13 @@
import { deselectFlight, selectFlight } from "./flightsSlice";
import { AppDispatch } from "../app/store";
import { ControlPoint } from "./controlpoint";
import { Flight } from "./flight";
import FrontLine from "./frontline";
import { LatLng } from "leaflet";
import Tgo from "./tgo";
import backend from "./backend";
import { updateControlPoint } from "./controlPointsSlice";
import { ControlPoint } from "./controlpoint";
import { Flight } from "./flight";
import { deselectFlight, selectFlight } from "./flightsSlice";
import FrontLine from "./frontline";
import Tgo from "./tgo";
import { updateTgo } from "./tgosSlice";
import { LatLng } from "leaflet";
// Placeholder. We don't use this yet. This is just here so we can flesh out the
// update events model.

View File

@@ -1,5 +1,5 @@
import { LatLng } from "leaflet";
import { Waypoint } from "./waypoint";
import { LatLng } from "leaflet";
export interface Flight {
id: string;

View File

@@ -1,7 +1,6 @@
import { PayloadAction, createSlice } from "@reduxjs/toolkit";
import { Flight } from "./flight";
import { RootState } from "../app/store";
import { Flight } from "./flight";
import { PayloadAction, createSlice } from "@reduxjs/toolkit";
interface FlightsState {
blue: { [id: string]: Flight };

View File

@@ -1,7 +1,6 @@
import { PayloadAction, createSlice } from "@reduxjs/toolkit";
import FrontLine from "./frontline";
import { RootState } from "../app/store";
import FrontLine from "./frontline";
import { PayloadAction, createSlice } from "@reduxjs/toolkit";
interface FrontLinesState {
fronts: FrontLine[];

View File

@@ -1,7 +1,6 @@
import { PayloadAction, createSlice } from "@reduxjs/toolkit";
import { RootState } from "../app/store";
import SupplyRoute from "./supplyroute";
import { PayloadAction, createSlice } from "@reduxjs/toolkit";
interface SupplyRoutesState {
routes: SupplyRoute[];

View File

@@ -1,7 +1,6 @@
import { PayloadAction, createSlice } from "@reduxjs/toolkit";
import { RootState } from "../app/store";
import { Tgo } from "./tgo";
import { PayloadAction, createSlice } from "@reduxjs/toolkit";
interface TgosState {
tgos: { [key: string]: Tgo };