Skip to content

Commit

Permalink
fix: make cache_hash of DrawerList optional
Browse files Browse the repository at this point in the history
  • Loading branch information
langz committed Oct 20, 2021
1 parent 88f003f commit dc22215
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/dnb-eufemia/src/fragments/drawer-list/DrawerList.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,13 +455,14 @@ DrawerList.Options.displayName = 'DrawerList.Options'
DrawerList.Options.propTypes = {
children: PropTypes.oneOfType([PropTypes.node, PropTypes.func])
.isRequired,
cache_hash: PropTypes.string.isRequired,
cache_hash: PropTypes.string,
showFocusRing: PropTypes.bool,
className: PropTypes.string,
class: PropTypes.string,
triangleRef: PropTypes.object,
}
DrawerList.Options.defaultProps = {
cache_hash: null,
showFocusRing: false,
className: null,
class: null,
Expand Down

0 comments on commit dc22215

Please sign in to comment.