Skip to content

Commit

Permalink
image size updated
Browse files Browse the repository at this point in the history
  • Loading branch information
Us-sync committed Mar 3, 2024
1 parent 3fb4b40 commit 1b02b8c
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 24 deletions.
46 changes: 23 additions & 23 deletions .firebase/hosting.ZGlzdA.cache
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,26 @@ logo.svg,1702805755363,106fd0e0e25e62773089d32eafec6046eb8f0d1a196e632a72cdfd228
profile.png,1707892322036,3db19429a79553f09c0adebdb3d58cbb8699e45584f31fc73c55198c67ce3acf
signin.svg,1686127288433,f60118db2a3203e28dc8285cf5d2dafbc799618ee6b2a4d0d3a63f36ba584c8e
vite.svg,1680593882164,59ec4b6085a0cb1bf712a5e48dd5f35b08e34830d49c2026c18241be04e05d5a
assets/AdminDashboard-ab04b088.js,1709478905326,2d7786dee1ce74ad2b9b894a48eb78d84cf051c5ffa0c57d57bc43f8e9329216
index.html,1709478905335,c86a092f4342647df9a2ca2b3b3bda3ce712302162c05f3f38aaabb86957cd6c
assets/ajax-loader-e7b44c86.gif,1709478905322,e9699a225e244ba8bb48532313e5c56a76fe08358c6dd684fb3234f2f63e7961
assets/MyProfile-e56e7df7.js,1709478905326,2cc2be7e4c8542135a34331232c54e5850c49c5129917586eca0ef4f03c741f5
assets/index-bc247fe3.css,1709478905325,83886c58cd522f875762604166d13c81f54874dde0db49074003cf70ef8934d5
assets/OnBoardingForm-003df330.css,1709478905325,660482a0aeba2c167de6e80851bf186d6939e1209dc2150a0743831e8d5d4109
assets/OnBoardingForm-2fe5b1cc.js,1709478905327,bfc534e6c65cb768c836e018f573eacfce573be43a7f0ad2153aa69a5335549d
assets/index.esm-ee7e949d.js,1709478905325,7a064c9145df5f7e183b433f0161bd9851b263c7b939f1ae64376987e2babe5a
assets/HomePage-d05ed5a4.css,1709478905325,07ad2ebc60866a5a6370a2a0580b6ee880565d517322107971a97bb3927b4333
assets/profile-75dfc6ea.js,1709478905326,b468afa53397956a7704cb41c8e129116fde9d9c6e022124f1392809ab3bc4fd
assets/ProfileList-1e34a258.css,1709478905329,94d6f076540233e531ecca64bde431e73adb69f92a320e89633a9d9618618365
assets/SignIn-546af57c.css,1709478905325,4bb3288d1795822ccfa709d00c582eb82d54076ff675a8131eaef78ade317c7c
assets/SignIn-b8489492.js,1709478905327,1b72a9fa3131f3d85ce498e11179fbecdd265486ec57e62c2165258d075d9290
assets/SignUp-2a4e2627.js,1709478905327,887123c932f43091d59dbec0cbc2cb556f27da7335daca5d2e96e49b637bd437
assets/SignUp-2fffacea.css,1709478905325,069a282e6dad21397c728a994b3e55f7993bf3be2acf3142d4a97a04b340c071
assets/slick-12459f22.svg,1709478905325,d00477d40ed40fa1dd3bdee27d9286804121b15fea83bae7d5415d902b055de0
assets/Team-e19419f0.js,1709478905325,89d141d2260d957837cb2f50936ab68defe51fc830739d342d39736d3a41b2a0
assets/ProfileList-2a088bd0.js,1709478905329,73d8597ed7179febcd92fbd6af17a5248eb24b2e0e98080128728a03413cc0e4
assets/UnauthorizedError-b859a562.js,1709478905326,5c9a0846523765cfcb58f4f0e3d71dfa0ea0cfa7b00872b496c45386c2f62db3
assets/Test-a083fb9b.js,1709478905327,f9ef362840c34ea57cfd7753f8c7db79107f0fe1506e98f9ab1f3fff2b91b570
assets/UnderReview-60703803.js,1709478905326,13c8001f4d5dab9b1fe329ef2a4105e1ea3d9e0fd71708539111c581ac0b739f
assets/HomePage-f7020025.js,1709478905335,9af34ba485c69d40bdaf7d9eac5bed20f80b54a6dcc506e3455f769346ccc00d
assets/index-ffc75f30.js,1709478905349,a6943dba65697ad48b52dc748fb43149e808cd5e3b815f9e10aa2dc140c1f8cb
index.html,1709482578232,cf75a692bb10c3b5365483d98bdb77ce5b0f9bfb1cc0ca68deca9cd93d835d28
assets/AdminDashboard-8221f54b.js,1709482578226,2d62adbe28cec12f5f4b5092c3477520ce62726794bbb7cb2c950c95ce1e8a54
assets/ajax-loader-e7b44c86.gif,1709482578225,e9699a225e244ba8bb48532313e5c56a76fe08358c6dd684fb3234f2f63e7961
assets/HomePage-d05ed5a4.css,1709482578225,07ad2ebc60866a5a6370a2a0580b6ee880565d517322107971a97bb3927b4333
assets/index-bc247fe3.css,1709482578225,83886c58cd522f875762604166d13c81f54874dde0db49074003cf70ef8934d5
assets/index.esm-b27368d8.js,1709482578226,475c5f17c55edc4b35cef6a76cc44ddbdf5668a5703f885e3ea147a66742b538
assets/MyProfile-dc49609e.js,1709482578226,775a396bdc12273e9268c2686a426ae4209a2e8b1fad81dfd899a334714796c8
assets/OnBoardingForm-003df330.css,1709482578225,660482a0aeba2c167de6e80851bf186d6939e1209dc2150a0743831e8d5d4109
assets/profile-84ca40f8.js,1709482578226,5c8a521802fe1f2794c636f4520bc9d00ffb4c79bd11c617a10b4bab5f560172
assets/OnBoardingForm-54428542.js,1709482578226,4f99d2bff30e5f570e0173e487d885d1975844766659d85b26c52404971e45d8
assets/ProfileList-1e34a258.css,1709482578225,94d6f076540233e531ecca64bde431e73adb69f92a320e89633a9d9618618365
assets/SignIn-0f83d84f.js,1709482578226,b4dff7882d1b343f0f90e9693d001a10107a6de0a716af40dd25d357f570b2ad
assets/ProfileList-5512821a.js,1709482578227,e51191ee92bc32b0598d1899420417ea60c49bdd2be34293ea5ba65757f63036
assets/SignIn-546af57c.css,1709482578225,4bb3288d1795822ccfa709d00c582eb82d54076ff675a8131eaef78ade317c7c
assets/SignUp-262a54aa.js,1709482578226,ed822d8903e4b3cf2cb5ac77ac7f817123866c8e902fd0f80864db56ac3e853c
assets/SignUp-2fffacea.css,1709482578225,069a282e6dad21397c728a994b3e55f7993bf3be2acf3142d4a97a04b340c071
assets/slick-12459f22.svg,1709482578223,d00477d40ed40fa1dd3bdee27d9286804121b15fea83bae7d5415d902b055de0
assets/Team-924e9a6b.js,1709482578226,fe2d33784eaa77f53c152a8ffcbade063ca591ccc4b13c72e57554e0bc8713c4
assets/Test-85b99c15.js,1709482578226,4584e19bef46697dade31832c55fbe39d40e3067636985df1699ca26624a781a
assets/UnauthorizedError-3f1548dd.js,1709482578226,f595f024a07014bbdd1a8179adae5fc91d7df20aae3474567614584d42b484a5
assets/UnderReview-26fe0c17.js,1709482578226,1237bf0884497368cc0c9cc0aa6c281c9faa7724c37c2f04325b5252c4fbb9e2
assets/HomePage-db466994.js,1709482578232,5a7ffc3af0e25282a153a6021120f2d8d8a3ddf79937f4924e363ee34f75a746
assets/index-47bfaaf6.js,1709482578234,e5cb1cb8d2bbf7c5a6a2a04c7d76971cb9075c2a6f7bae4fb0b9d0ab41f254fc
2 changes: 1 addition & 1 deletion src/components/OnBoardingForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ const OnBoardingForm = () => {
const fileSizeInMB = image.size / (1024 * 1024);
const allowedImageTypes = ["image/jpeg", "image/png", "image/gif"];

if (fileSizeInMB > 1) {
if (fileSizeInMB > 10) {
toast.error("File size should not exceed 1MB");
setLoading(false); // Set loading to false in case of an error
return;
Expand Down

0 comments on commit 1b02b8c

Please sign in to comment.