diff --git a/src/pages/Host/Spaces/Add/SpaceDetailsTwo.jsx b/src/pages/Host/Spaces/Add/SpaceDetailsTwo.jsx index 5a622b1..20d918e 100644 --- a/src/pages/Host/Spaces/Add/SpaceDetailsTwo.jsx +++ b/src/pages/Host/Spaces/Add/SpaceDetailsTwo.jsx @@ -131,11 +131,11 @@ const SpaceDetailsTwo = () => { return; } - if (file?.size && file?.size > 5 * 1024 * 1024) { - // 5 MB limit + if (file?.size && file?.size > 1 * 1024 * 1024) { + // 1 MB limit showToast( globalDispatch, - "One or more of the image is too large. Max size is 5 MB.", + "One or more of the image is too large. Max size is 1 MB.", 4000, "ERROR" ); @@ -332,7 +332,7 @@ const SpaceDetailsTwo = () => { * Photographs of the space
- file type (jpeg/png/svg), max size (5MB), suggest resolution + file type (jpeg/png/svg), max size (1MB), suggest resolution (640*480)