mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(modqueue): enforce role-gated access with not-allowed view
This commit is contained in:
@@ -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;
|
||||
Reference in New Issue
Block a user