Added a validator

This commit is contained in:
2021-05-31 12:40:54 -07:00
parent 54d4bbf4ea
commit 7f67c04467
4 changed files with 100 additions and 11 deletions

View File

@@ -4,7 +4,7 @@ import { connect } from "react-redux";
import { fetchComicBookMetadata } from "../actions/fileops.actions";
import { IFolderData } from "../shared/interfaces/comicinfo.interfaces";
import Card from "./Card";
import { io } from "socket.io-client";
import { io, Socket } from "socket.io-client";
interface IProps {
matches: unknown;
@@ -17,7 +17,7 @@ interface IState {
searchPaneIndex: number;
fileOps: any;
}
let socket;
let socket: Socket;
class Import extends React.Component<IProps, IState> {
constructor(props: IProps) {
super(props);