mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-23 15:01:14 +02:00
fix flicker in asset loading text
This commit is contained in:
@@ -97,8 +97,8 @@ const Assets = ({ onProBtnClick, onLoginBtnClick }) => {
|
||||
Promise.all(filePromises).then(files => {
|
||||
files.forEach(f => (f.ext = getFileType(f.url)));
|
||||
setFiles(files);
|
||||
setIsFetchingFiles(false);
|
||||
});
|
||||
setIsFetchingFiles(false);
|
||||
})
|
||||
.catch(error => {
|
||||
console.error('File fetch error:', error);
|
||||
|
Reference in New Issue
Block a user