Open brionmario opened 7 months ago
Describe the issue:
The updateConfig function from the useAuthContext hook, doesn't seem to update the context of the SDK after it's been initialized.
updateConfig
useAuthContext
How to reproduce:
Initial SDK Config
{ storage: "sessionStorage" }
Update the storage on the fly.
const { updateConfig } = useAuthContext(); updateConfig({ storage: "webWorker" });
This doesn't update the SDK to web worker. Validate with React Dev Tools as well.
Expected behavior:
SDK context should be updated.
Environment information (Please complete the following information; remove any unnecessary fields) :
Describe the issue:
The
updateConfig
function from theuseAuthContext
hook, doesn't seem to update the context of the SDK after it's been initialized.How to reproduce:
Initial SDK Config
Update the storage on the fly.
This doesn't update the SDK to web worker. Validate with React Dev Tools as well.
Expected behavior:
SDK context should be updated.
Environment information (Please complete the following information; remove any unnecessary fields) :