Register game ban modal in mod queue

This commit is contained in:
regalijan 2023-10-19 16:50:06 -04:00
parent 9a47061fd8
commit f31dd1d1e1
Signed by: regalijan
GPG Key ID: 5D4196DA269EF520

View File

@ -19,6 +19,7 @@ import {
import { useEffect, useState } from "react"; import { useEffect, useState } from "react";
import AppealCard from "../../components/AppealCard.js"; import AppealCard from "../../components/AppealCard.js";
import GameAppealCard from "../../components/GameAppealCard.js"; import GameAppealCard from "../../components/GameAppealCard.js";
import NewGameBan from "../../components/NewGameBan.js";
import NewInfractionModal from "../../components/NewInfractionModal.js"; import NewInfractionModal from "../../components/NewInfractionModal.js";
import ReportCard from "../../components/ReportCard.js"; import ReportCard from "../../components/ReportCard.js";
import { useLoaderData } from "@remix-run/react"; import { useLoaderData } from "@remix-run/react";
@ -218,6 +219,10 @@ export default function () {
return ( return (
<Container maxW="container.lg"> <Container maxW="container.lg">
<NewGameBan
isOpen={itemModals.game_ban.isOpen}
onClose={itemModals.game_ban.onClose}
/>
<NewInactivityNotice <NewInactivityNotice
departments={pageProps.departments} departments={pageProps.departments}
isOpen={itemModals.inactivity.isOpen} isOpen={itemModals.inactivity.isOpen}
@ -237,7 +242,14 @@ export default function () {
</Flex> </Flex>
<Popover placement="top"> <Popover placement="top">
<PopoverTrigger> <PopoverTrigger>
<Button borderRadius="50%" float="right" h="16" w="16"> <Button
borderRadius="50%"
bottom="10vh"
h="16"
position="absolute"
right="10vh"
w="16"
>
<svg <svg
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
width="32" width="32"