Skip to content

Commit

Permalink
chore(MessageBar): add todo comments
Browse files Browse the repository at this point in the history
  • Loading branch information
robertpenner committed Dec 13, 2024
1 parent 9805fc6 commit 35cbf40
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export const messageBarGroupClassNames: SlotClassNames<MessageBarGroupSlots> = {
root: 'fui-MessageBarGroup',
};

// TODO: delete this obsolete code to save bytes?
/**
* Styles for the root slot
*/
Expand Down Expand Up @@ -49,6 +50,7 @@ export const useMessageBarGroupStyles_unstable = (state: MessageBarGroupState):

const styles = useStyles();
state.root.className = mergeClasses(messageBarGroupClassNames.root, state.root.className);
// TODO: delete these 2 lines to save bytes?
state.enterStyles = mergeClasses(styles.base, styles.enter);
state.exitStyles = mergeClasses(styles.base, styles.exit);
return state;
Expand Down

0 comments on commit 35cbf40

Please sign in to comment.