swarooppatilx / scruter

Scruter is a local classifieds and community site designed to bring people together for buying, selling, and exchanging goods and services.
https://scruter.vercel.app
GNU General Public License v3.0
28 stars 135 forks source link

[BUG] : Housing, Food and For Sale data are not shown on Front-end pages #521

Closed mehul-m-prajapati closed 1 week ago

mehul-m-prajapati commented 2 weeks ago

Description

Housing, Food and For Sale data are not shown Front-end pages

Screenshots

f1 f2

Any additional information?

No response

What browser are you seeing the problem on?

Chrome

Checklist

swarooppatilx commented 1 week ago

@mehul-m-prajapati this bug is caused due to hardcoded cloudinary preset, ideally it should take its value from environment variable (I have temporarily fixed it by changing it to correct value) You can raise a PR resolving this issue

swarooppatilx commented 1 week ago

@mehul-m-prajapati [BUG] When clicking on a username on the home page, the app should open the seller's listings if the account type is "seller." However, the page fails to display correctly due to a missing /seller/ prefix in the URL. Please add a conditional check for the account type (user/seller) before redirecting to ensure the correct URL structure is applied. Before: Screenshot From 2024-11-08 12-46-41

After prefixing /seller/ in URL Screenshot From 2024-11-08 12-46-59