Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Change authentication requests in the dashboard to SWR #167

@alanqchen

Description

@alanqchen

Right now refreshing the tokens are done through useEffect. However, with useSWR it can poll incrementally (while in focus) instead of when a user changes pages. It should be noted that the dispatch action will be passed to the second argument of useSWR and we still need to keep track of the redux state ourselves.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestfrontendIssues that require frontend work

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions