mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 22:11:24 -05:00
Reverted to commit 095907b3a5
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
import { useRef, useCallback } from 'react';
|
||||
import { AdminLayout } from '@/components/layout/AdminLayout';
|
||||
import { ModerationQueue, ModerationQueueRef } from '@/components/moderation/ModerationQueue';
|
||||
|
||||
export default function AdminModeration() {
|
||||
const moderationQueueRef = useRef<ModerationQueueRef>(null);
|
||||
|
||||
const handleRefresh = useCallback(() => {
|
||||
moderationQueueRef.current?.refresh();
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<AdminLayout onRefresh={handleRefresh}>
|
||||
<div className="container mx-auto px-6 py-8 max-w-7xl">
|
||||
<div>
|
||||
<h1 className="text-2xl font-bold mb-6">Moderation Queue</h1>
|
||||
<ModerationQueue ref={moderationQueueRef} />
|
||||
</div>
|
||||
</div>
|
||||
</AdminLayout>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user