mirror of
https://github.com/MetaFam/TheGame.git
synced 2026-04-24 03:00:09 -04:00
add loading screen
This commit is contained in:
@@ -219,7 +219,7 @@ export const EditProfileModal: React.FC<ProfileEditorProps> = ({
|
||||
});
|
||||
} else {
|
||||
const key = input.name as keyof typeof endpoints;
|
||||
endpoints[key].set(true);
|
||||
endpoints[key].setActive(true);
|
||||
endpoints[key].setFile(file);
|
||||
const reader = new FileReader();
|
||||
reader.addEventListener('load', () => {
|
||||
|
||||
Reference in New Issue
Block a user