add loading screen

This commit is contained in:
Seroxdesign
2023-04-15 08:21:44 -04:00
parent f9be06e2fe
commit ba7bf5ee30

View File

@@ -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', () => {