added user casacde delete

This commit is contained in:
PxlLoewe
2025-06-25 17:09:41 -07:00
parent e17350596f
commit 577a18d595
14 changed files with 47 additions and 94 deletions

View File

@@ -19,8 +19,8 @@ export const ReportSenderInfo = ({
report,
}: {
report: IReport & {
Reported?: User;
Sender?: User;
Reported: User;
Sender: User | null;
};
}) => {
const { Reported, Sender } = report;
@@ -49,7 +49,8 @@ export const ReportAdmin = ({
}: {
report: IReport & {
Reported?: User;
Sender?: User;
Sender: User | null;
Reviewer?: User | null;
};
}) => {
@@ -136,7 +137,8 @@ export const ReportPenalties = ({
}: {
report: IReport & {
Reported?: User;
Sender?: User;
Sender: User | null;
Reviewer?: User | null;
};
}) => {