Skip to content

Commit bbc24b8

Browse files
authored
Merge pull request #2248 from Sefaria/prevent-recreating-textRange
create TextRange with section ref as key
2 parents 29c8fd3 + 8aeec0e commit bbc24b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

static/js/TextColumn.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -395,7 +395,7 @@ class TextColumn extends Component {
395395
unsetTextHighlight={this.props.unsetTextHighlight}
396396
navigatePanel={this.props.navigatePanel}
397397
translationLanguagePreference={this.props.translationLanguagePreference}
398-
key={sref} />);
398+
key={oref.sectionRef} />);
399399
});
400400

401401
let pre, post, bookTitle;

0 commit comments

Comments
 (0)