Create game appeal card
This commit is contained in:
@ -9,6 +9,7 @@ import {
|
||||
} from "@chakra-ui/react";
|
||||
import { useState } from "react";
|
||||
import AppealCard from "../../components/AppealCard.js";
|
||||
import GameAppealCard from "../../components/GameAppealCard.js";
|
||||
import ReportCard from "../../components/ReportCard.js";
|
||||
import { useLoaderData } from "@remix-run/react";
|
||||
|
||||
@ -119,8 +120,15 @@ export default function () {
|
||||
|
||||
break;
|
||||
|
||||
case "gma":
|
||||
newEntries.push(<GameAppealCard {...(entry as GameAppealProps)} />);
|
||||
|
||||
break;
|
||||
|
||||
case "report":
|
||||
newEntries.push(<ReportCard {...(entry as ReportCardProps)} />);
|
||||
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user