From 5154e3da81146e68fcb14b56d95ef03eceb6f32a Mon Sep 17 00:00:00 2001 From: tienifr Date: Wed, 22 Mar 2023 23:46:50 +0700 Subject: [PATCH] fix: using pre instad of prewrap --- src/components/DisplayNames/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/DisplayNames/index.js b/src/components/DisplayNames/index.js index 4cf6fe235521..ca7ade556a6f 100644 --- a/src/components/DisplayNames/index.js +++ b/src/components/DisplayNames/index.js @@ -100,7 +100,7 @@ class DisplayNames extends PureComponent { > {/* // We need to get the refs to all the names which will be used to correct the horizontal position of the tooltip */} - this.childRefs[index] = el} style={[...this.props.textStyles, styles.preWrap]}> + this.childRefs[index] = el} style={[...this.props.textStyles, styles.pre]}> {displayName}