mirror of
https://github.com/astuto/astuto.git
synced 2025-12-16 03:37:56 +01:00
Remove unused imports and add some types
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user