anttiviljami / react-openapi-client

Consume OpenAPI-enabled APIs with React Hooks
MIT License
57 stars 10 forks source link

memo fix #38

Closed marcnnn closed 2 years ago

marcnnn commented 2 years ago

I hope this will fix my issues with changing the Bearer token header. I was using react use Local Storage to store the token but chaning it by logging is. was not propergating the change to the useOperation functions.

marcnnn commented 2 years ago

@anttiviljami By switching from Yarn to NPM I was able to test the Fix, and it works!