From 3cc57614a25cab722e56b2954478910eba89935a Mon Sep 17 00:00:00 2001 From: tienifr Date: Mon, 20 Mar 2023 16:56:51 +0700 Subject: [PATCH] fix: Add condition for border line display --- src/components/OptionRow.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/OptionRow.js b/src/components/OptionRow.js index 532ae783bdd6..ad25b29685dd 100644 --- a/src/components/OptionRow.js +++ b/src/components/OptionRow.js @@ -100,7 +100,8 @@ class OptionRow extends Component { || this.props.option.text !== nextProps.option.text || this.props.option.alternateText !== nextProps.option.alternateText || this.props.option.descriptiveText !== nextProps.option.descriptiveText - || this.props.option.brickRoadIndicator !== nextProps.option.brickRoadIndicator; + || this.props.option.brickRoadIndicator !== nextProps.option.brickRoadIndicator + || this.props.shouldHaveOptionSeparator !== nextProps.shouldHaveOptionSeparator; } componentDidUpdate(prevProps) {