Skip to content

Commit

Permalink
Refaktor av identhenting
Browse files Browse the repository at this point in the history
#deploy-endringsmelding-frontend
#deploy-endringsmelding-service
  • Loading branch information
stigus committed Mar 8, 2024
1 parent cf35e9f commit 4ff2334
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ export default <T extends unknown>({ labels, onChange, setMiljoer }: Props<T>) =
body: JSON.stringify({ ident: ident }),
})
.then(async (res) => {
console.log('res: ', res); //TODO - SLETT MEG
setLoading(false);
const jsonResponse = await res.json();
console.log('jsonResponse: ', jsonResponse); //TODO - SLETT MEG
setResponse(jsonResponse);
})
.catch((reason) => {
Expand Down

0 comments on commit 4ff2334

Please sign in to comment.