Fix URL being pushed after creating an app

This commit is contained in:
Andrew Kingston 2021-05-07 07:56:36 +01:00
parent 6958e860ef
commit dff4e9501c
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@
} }
const userResp = await api.post(`/api/users/metadata/self`, user) const userResp = await api.post(`/api/users/metadata/self`, user)
await userResp.json() await userResp.json()
$goto(`/app/builder/${appJson._id}/design`) $goto(`/app/builder/${appJson._id}`)
} catch (error) { } catch (error) {
console.error(error) console.error(error)
notifications.error(error) notifications.error(error)