Skip to content

Commit

Permalink
refactor: apply BEM naming in RefreshButton component
Browse files Browse the repository at this point in the history
  • Loading branch information
xxxjinn committed Sep 9, 2024
1 parent 0a7e764 commit b41eacf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
height: 30px;
}

.refresh-button-icon {
.refresh-button__icon {
&--loading {
animation: rotate 2s infinite;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const RefreshButton = () => {
sx={{ color: "white" }}
>
<ReplayCircleFilledRoundedIcon
className={cn("refresh-button-icon", { "refresh-button-icon--loading": loading })}
className={cn("refresh-button__icon", { "refresh-button__icon--loading": loading })}
/>
</IconButton>
);
Expand Down

0 comments on commit b41eacf

Please sign in to comment.