Skip to content

Commit a31432b

Browse files
committed
updated the variable name
1 parent f418236 commit a31432b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

FluentMessageBar/FluentMessageBar/components/Toolbar/ToolbarComponent.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export const ToolbarComponent = React.memo((props: CustomToolbarProps) => {
7676
},
7777
};
7878

79-
const toolbarButton = (
79+
const toolbarButtonProps = (
8080
<ToolbarButton {...buttonProps} className={styles.content}>
8181
<span
8282
style={{
@@ -96,10 +96,10 @@ export const ToolbarComponent = React.memo((props: CustomToolbarProps) => {
9696
<OverflowItem key={item.key} id={item.key}>
9797
{item.tooltip ? (
9898
<Tooltip content={item.tooltip} relationship="description" withArrow>
99-
{toolbarButton}
99+
{toolbarButtonProps}
100100
</Tooltip>
101101
) : (
102-
toolbarButton
102+
toolbarButtonProps
103103
)}
104104
</OverflowItem>
105105
);

0 commit comments

Comments
 (0)