Move card types to declaration file
This commit is contained in:
@ -12,15 +12,7 @@ import {
|
||||
} from "@chakra-ui/react";
|
||||
import { useEffect, useState } from "react";
|
||||
|
||||
export default function (props: {
|
||||
ban_reason: string;
|
||||
createdAt: number;
|
||||
discriminator: string;
|
||||
id: string;
|
||||
learned: string;
|
||||
reason_for_unban: string;
|
||||
username: string;
|
||||
}) {
|
||||
export default function (props: AppealCardProps) {
|
||||
const [dateString, setDateString] = useState(
|
||||
new Date(props.createdAt).toUTCString()
|
||||
);
|
||||
|
Reference in New Issue
Block a user