Skip to content

Commit

Permalink
fix(toolbarContext): keys for secondary fields (#957)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera committed Jul 27, 2022
1 parent db863f1 commit 71504ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/toolbar/toolbarContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ const useToolbarSecondaryFields = ({
({ value: categoryOptionValue }) => id === categoryOptionValue
);

return <OptionComponent isFilter={false} position={SelectPosition.right} />;
return <OptionComponent key={`option-${id}`} isFilter={false} position={SelectPosition.right} />;
});
};

Expand Down

0 comments on commit 71504ff

Please sign in to comment.