mirror of
https://github.com/DaanVandenBosch/phantasmal-world.git
synced 2025-04-05 15:28:29 +08:00
Linting.
This commit is contained in:
parent
15327d1478
commit
402bd0d1ef
@ -1,10 +1,9 @@
|
|||||||
import { InputNumber } from "antd";
|
import { InputNumber } from "antd";
|
||||||
|
import { autorun, IReactionDisposer } from "mobx";
|
||||||
import { observer } from "mobx-react";
|
import { observer } from "mobx-react";
|
||||||
import React, { ReactNode, Component, PureComponent } from "react";
|
import React, { Component, PureComponent, ReactNode } from "react";
|
||||||
import { QuestNpc, QuestObject, QuestEntity } from "../../domain";
|
import { QuestEntity, QuestNpc, QuestObject } from "../../domain";
|
||||||
import "./EntityInfoComponent.css";
|
import "./EntityInfoComponent.css";
|
||||||
import { IReactionDisposer, autorun } from "mobx";
|
|
||||||
import { Vec3 } from "../../data_formats/vector";
|
|
||||||
|
|
||||||
export type Props = {
|
export type Props = {
|
||||||
entity?: QuestEntity;
|
entity?: QuestEntity;
|
||||||
@ -156,7 +155,7 @@ class CoordInput extends Component<CoordProps, { value: number }> {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
private start_observing() {
|
private start_observing(): void {
|
||||||
if (this.disposer) this.disposer();
|
if (this.disposer) this.disposer();
|
||||||
|
|
||||||
this.disposer = autorun(
|
this.disposer = autorun(
|
||||||
|
Loading…
Reference in New Issue
Block a user