Skip to content

Commit

Permalink
fix(SideNav): comment out unused prop (#11619)
Browse files Browse the repository at this point in the history
* fix(UIShell): comment out unused prop

* chore(project): update public api snap

Co-authored-by: Josh Black <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Jun 17, 2022
1 parent b86b4ca commit 5527e50
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions packages/react/__tests__/__snapshots__/PublicAPI-test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -5875,9 +5875,6 @@ Map {
"onToggle": Object {
"type": "func",
},
"translateById": Object {
"type": "func",
},
},
"render": [Function],
},
Expand Down
2 changes: 1 addition & 1 deletion packages/react/src/components/UIShell/SideNav.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ SideNav.propTypes = {
* state of the component. From this, you should return a string representing
* the label you want displayed or read by screen readers.
*/
translateById: PropTypes.func,
// translateById: PropTypes.func,
};

export default SideNav;

0 comments on commit 5527e50

Please sign in to comment.