Skip to content

Commit

Permalink
Merge pull request #313 from navikt/Thomas-CT-patch-1
Browse files Browse the repository at this point in the history
Fjerner debug-tekst
  • Loading branch information
lotorvik authored Jul 31, 2024
2 parents 8f9d874 + 4647c74 commit a311394
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions components/AxiosInterceptor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,5 @@ export const AxiosInterceptor = ({ children }: PropsAxiosInterceptor) => {
return () => axios.interceptors.response.eject(interceptor);
}, [router]);

return (
<AxiosInterceptorContext.Provider value={{ savedAt }}>
{savedAt}
{isSet && children}
</AxiosInterceptorContext.Provider>
);
return <AxiosInterceptorContext.Provider value={{ savedAt }}>{isSet && children}</AxiosInterceptorContext.Provider>;
};

0 comments on commit a311394

Please sign in to comment.