From 35cbf40400187c52329bd7b08dc60e47f396962f Mon Sep 17 00:00:00 2001 From: Robert Penner Date: Fri, 13 Dec 2024 23:39:06 +0000 Subject: [PATCH] chore(MessageBar): add todo comments --- .../MessageBarGroup/useMessageBarGroupStyles.styles.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/react-components/react-message-bar/library/src/components/MessageBarGroup/useMessageBarGroupStyles.styles.ts b/packages/react-components/react-message-bar/library/src/components/MessageBarGroup/useMessageBarGroupStyles.styles.ts index a7054fe773448c..82fd1a0fec3054 100644 --- a/packages/react-components/react-message-bar/library/src/components/MessageBarGroup/useMessageBarGroupStyles.styles.ts +++ b/packages/react-components/react-message-bar/library/src/components/MessageBarGroup/useMessageBarGroupStyles.styles.ts @@ -7,6 +7,7 @@ export const messageBarGroupClassNames: SlotClassNames = { root: 'fui-MessageBarGroup', }; +// TODO: delete this obsolete code to save bytes? /** * Styles for the root slot */ @@ -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;