From 3cbb489ac6d0271d25ad003a3530460971c1a70b Mon Sep 17 00:00:00 2001 From: Mark McDowall Date: Wed, 30 Oct 2019 10:25:55 -0700 Subject: [PATCH] Default id for MenuContent --- frontend/src/Components/Menu/MenuContent.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/Components/Menu/MenuContent.js b/frontend/src/Components/Menu/MenuContent.js index e158187d5..875bc0257 100644 --- a/frontend/src/Components/Menu/MenuContent.js +++ b/frontend/src/Components/Menu/MenuContent.js @@ -1,5 +1,6 @@ import PropTypes from 'prop-types'; import React, { Component } from 'react'; +import getUniqueElementId from 'Utilities/getUniqueElementId'; import Scroller from 'Components/Scroller/Scroller'; import styles from './MenuContent.css'; @@ -47,7 +48,8 @@ MenuContent.propTypes = { }; MenuContent.defaultProps = { - className: styles.menuContent + className: styles.menuContent, + id: getUniqueElementId() }; export default MenuContent;