-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: Status component rebuilt with SWR
Main reason is to have only a single ajax request for status data on the page, no matter how many status icons are embedded. Also extract the icon portion into its own StatusIcon component that can be better used in other components, especially inside other anchor tags
- Loading branch information
1 parent
76a0d49
commit 2a1bbc2
Showing
2 changed files
with
68 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters