Skip to content
Snippets Groups Projects
Commit 9053454b authored by Seren Siahaan's avatar Seren Siahaan
Browse files

Update index.jsx

parent 157d3386
Branches
Tags
1 merge request!17merge branch 'seren' into 'main'
...@@ -12,7 +12,7 @@ export default function InformasiPerusahaan({ propertyWebsite }) { ...@@ -12,7 +12,7 @@ export default function InformasiPerusahaan({ propertyWebsite }) {
const saveDeskripsi = () => { const saveDeskripsi = () => {
const token = window.localStorage.getItem("token") const token = window.localStorage.getItem("token")
if (token === undefined || token === null) { if (token === undefined || token === null) {
window.location.replace("/") window.location.replace("/infoperusahaan")
return; return;
} }
fetch("https://rpl-backend-production.up.railway.app/v1/property/description", { fetch("https://rpl-backend-production.up.railway.app/v1/property/description", {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment