Fixed type in StorageContext.js

Thank you kind stranger.
This commit is contained in:
Amruth Pillai
2021-03-16 08:44:02 +05:30
committed by GitHub
parent ee93c47403
commit f73d9ad7d0

View File

@ -33,7 +33,7 @@ const StorageProvider = ({ children }) => {
if (file.size > 2097152) { if (file.size > 2097152) {
toast.error( toast.error(
"Your image seems to be bigger than 2 MB. That's way too much. Maybe consider reducing it's size?", "Your image seems to be bigger than 2 MB. That's way too much. Maybe consider reducing its size?",
); );
return null; return null;
} }