Changed default redirects in risk management pages to point to the new risk pools section. Removed unused risk lock log components and streamlined the admin reports page with a loading state for better user experience. Added a new DocFigure component for improved documentation visuals and updated localization files to include new figure descriptions.
10 lines
244 B
TypeScript
10 lines
244 B
TypeScript
import { redirect } from "next/navigation";
|
|
|
|
export default async function AdminDrawRiskIndexPage(props: {
|
|
params: Promise<{ drawId: string }>;
|
|
}) {
|
|
const { drawId } = await props.params;
|
|
|
|
redirect(`/admin/draws/${drawId}/risk/pools`);
|
|
}
|