Skip to content

Commit

Permalink
Logger mutate på endre bestilling
Browse files Browse the repository at this point in the history
  • Loading branch information
matsbyfl committed Nov 11, 2024
1 parent 970cc97 commit ab284d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions client/src/saksbilde/hjelpemidler/Hjelpemiddel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ export function Hjelpemiddel({ hjelpemiddel, forenkletVisning, sak }: Hjelpemidd
await putEndreHjelpemiddel(sakId, endreHjelpemiddel)
.catch(() => console.error('error endre hjelpemiddel'))
.then(() => {
// TODO Finn ut hvorfor mutate ikke funker
console.log('Endre hjelpemiddel, mutating', endreHjelpemiddel)

mutate(`api/sak/${sakId}`)
mutateBestilling()
mutate(`api/sak/${sakId}/historikk`)
Expand Down

0 comments on commit ab284d3

Please sign in to comment.