Remove unused imports and add some types

This commit is contained in:
riggraz
2019-09-26 11:00:32 +02:00
parent e38027f9ae
commit 322c8e51cf
19 changed files with 27 additions and 45 deletions

View File

@@ -1,5 +1,4 @@
import * as React from 'react';
import { FormEvent } from 'react';
import Button from '../shared/Button';
import Spinner from '../shared/Spinner';
@@ -8,7 +7,7 @@ interface Props {
body: string;
parentId: number;
isSubmitting: boolean;
handleChange(e: FormEvent): void;
handleChange(e: React.FormEvent): void;
handleSubmit(body: string, parentId: number): void;
isLoggedIn: boolean;