Skip to content

Commit bcf0bbe

Browse files
author
Humberto Makoto Morimoto Burgos
committed
Getting rid of unnecessary style.
1 parent 4896df6 commit bcf0bbe

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

packages/react-components/react-badge/src/components/PresenceBadge/usePresenceBadgeStyles.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ const useStyles = makeStyles({
5555
outOfOfficeBusy: {
5656
color: tokens.colorPaletteRedBackground3,
5757
},
58-
outOfOfficeAway: {
59-
color: tokens.colorPaletteBerryForeground3,
60-
},
6158

6259
// Icons are not resizeable, and these sizes are currently missing
6360
// use `!important` to size the currently available icons to the missing ones
@@ -105,7 +102,7 @@ export const usePresenceBadgeStyles_unstable = (state: PresenceBadgeState): Pres
105102
state.outOfOffice && styles.outOfOffice,
106103
state.outOfOffice && state.status === 'available' && styles.outOfOfficeAvailable,
107104
state.outOfOffice && isBusy && styles.outOfOfficeBusy,
108-
state.outOfOffice && state.status === 'away' && styles.outOfOfficeAway,
105+
state.outOfOffice && state.status === 'away' && styles.statusOutOfOffice,
109106
state.outOfOffice && state.status === 'offline' && styles.statusOffline,
110107
state.outOfOffice && state.status === 'out-of-office' && styles.statusOutOfOffice,
111108
state.size === 'tiny' && styles.tiny,

0 commit comments

Comments
 (0)