SteinOveHelset / djangobnb

Home Page:https://djangobnb.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Site not being refreshed after added property

Alfareiza opened this issue · comments

When the property is added using the modal, the property is in fact added so we can check it in the django admin perfectly, however this property is not shown in the front.

In the AddPropertyModal the router.push goes the user to the home but it doesn't request all the properties to the API and show them in the front.

So, once the user add the property, I have to refresh the site.

I know this repo has academic purposes. I'm just making the behavior clear whit this issue. Thanks by the way.