From 402bd0d1efda9f2f520b2df739b289f746731948 Mon Sep 17 00:00:00 2001 From: Daan Vanden Bosch Date: Sat, 20 Jul 2019 00:15:36 +0200 Subject: [PATCH] Linting. --- src/ui/quest_editor/EntityInfoComponent.tsx | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/ui/quest_editor/EntityInfoComponent.tsx b/src/ui/quest_editor/EntityInfoComponent.tsx index b25f438f..f5c8666a 100644 --- a/src/ui/quest_editor/EntityInfoComponent.tsx +++ b/src/ui/quest_editor/EntityInfoComponent.tsx @@ -1,10 +1,9 @@ import { InputNumber } from "antd"; +import { autorun, IReactionDisposer } from "mobx"; import { observer } from "mobx-react"; -import React, { ReactNode, Component, PureComponent } from "react"; -import { QuestNpc, QuestObject, QuestEntity } from "../../domain"; +import React, { Component, PureComponent, ReactNode } from "react"; +import { QuestEntity, QuestNpc, QuestObject } from "../../domain"; import "./EntityInfoComponent.css"; -import { IReactionDisposer, autorun } from "mobx"; -import { Vec3 } from "../../data_formats/vector"; export type Props = { entity?: QuestEntity; @@ -156,7 +155,7 @@ class CoordInput extends Component { ); } - private start_observing() { + private start_observing(): void { if (this.disposer) this.disposer(); this.disposer = autorun(