Handlers for UserShort.

View user's profile picture.
Close #25, adds logic to hamburger.
This commit is contained in:
Paul
2021-08-09 15:51:22 +01:00
parent c8b5753211
commit f19e334d56
8 changed files with 74 additions and 14 deletions

View File

@@ -79,7 +79,6 @@ export function grabFiles(
const files = (e.currentTarget as HTMLInputElement)?.files;
if (!files) return;
for (const file of files) {
alert(file.size);
if (file.size > maxFileSize) {
return tooLarge();
}