Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove JSX.Element typing
  • Loading branch information
regalijan committed Oct 19, 2023
1 parent f787e5e commit d7f52bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/NewGameBan.tsx
Expand Up @@ -22,11 +22,11 @@ import {
VStack,
useToast,
} from "@chakra-ui/react";
import { useState } from "react";
import { type ReactElement, useState } from "react";

export default function (props: { isOpen: boolean; onClose: () => void }) {
const actionMap: { [k: string]: number } = {};
const [rows, setRows] = useState([] as JSX.Element[]);
const [rows, setRows] = useState([] as ReactElement[]);
const toast = useToast();
const fileTypes: { [k: string]: string } = {
gif: "image/gif",
Expand Down

0 comments on commit d7f52bf

Please sign in to comment.