chore: Update syntax, improve more typing (#1439)
* chore: <React.Fragment> to <> * flow types
This commit is contained in:
@@ -6,7 +6,7 @@ import ListItem from "components/List/Item";
|
||||
|
||||
type Props = {
|
||||
token: ApiKey,
|
||||
onDelete: (tokenId: string) => void,
|
||||
onDelete: (tokenId: string) => Promise<void>,
|
||||
};
|
||||
|
||||
const TokenListItem = ({ token, onDelete }: Props) => {
|
||||
|
||||
Reference in New Issue
Block a user