mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
preload banners regardless of number
This commit is contained in:
@@ -32,8 +32,7 @@ const ImageBanner = () => {
|
||||
);
|
||||
};
|
||||
|
||||
// Helper function to import all images from a directory
|
||||
function importAll(r) {
|
||||
export function importAll(r) {
|
||||
return r.keys().map(r);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user