fix(modqueue): enforce role-gated access with not-allowed view

This commit is contained in:
plebeius
2026-02-16 19:17:38 +08:00
parent 6befc6bacd
commit 9c558d21c1
6 changed files with 99 additions and 15 deletions
+1
View File
@@ -0,0 +1 @@
export { default } from './not-found-image';
@@ -0,0 +1,10 @@
import { useState } from 'react';
import { NOT_FOUND_IMAGES } from '../../generated/asset-manifest';
const NotFoundImage = () => {
const [imagePath] = useState(() => NOT_FOUND_IMAGES[Math.floor(Math.random() * NOT_FOUND_IMAGES.length)]);
return <img src={imagePath} alt='' />;
};
export default NotFoundImage;