Skip to content
This repository was archived by the owner on Nov 1, 2024. It is now read-only.

Commit e319730

Browse files
committed
chore(update story metadata): reroute to /user/stories after submitting edit story metadata form
1 parent 506cb49 commit e319730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/stories/editStoryMetadata.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export const EditStoryMetadataForm = ({id, name, description, keywords, teamkata
9191

9292
updateStoryQuery(editStoryData).then(()=>{
9393
amplitudeLog('skjema fullført', { skjemanavn: 'endre-datafortelling' })
94-
router.back()
94+
router.push("/user/stories")
9595
}).catch(e=>{
9696
console.log(e)
9797
amplitudeLog('skjemainnsending feilet', {

0 commit comments

Comments
 (0)