Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Remove empty makeStyles call",
Comment thread
ling1726 marked this conversation as resolved.
Outdated
"packageName": "@fluentui/react-toolbar",
"email": "138819425+benlemmon-ms@users.noreply.github.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,11 @@ export const toolbarGroupClassNames: SlotClassNames<ToolbarGroupSlots> = {
root: 'fui-ToolbarGroup',
};

/**
* Styles for the root slot
*/
const useStyles = makeStyles({
Comment thread
ling1726 marked this conversation as resolved.
root: {},
});

/**
* Apply styling to the Toolbar slots based on the state
*/
export const useToolbarGroupStyles_unstable = (state: ToolbarGroupState): ToolbarGroupState => {
const styles = useStyles();
state.root.className = mergeClasses(toolbarGroupClassNames.root, styles.root, state.root.className);
state.root.className = mergeClasses(toolbarGroupClassNames.root, state.root.className);

return state;
};