From c0452280893c13b3e809b7e617f6f43082bc168a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Tue, 29 May 2018 10:21:49 +0200 Subject: [PATCH] Bugfix FlipTicker to use spread instead of split https://stackoverflow.com/a/34717402 --- src/components/base/FlipTicker/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/base/FlipTicker/index.js b/src/components/base/FlipTicker/index.js index e6d9b271..887826ea 100644 --- a/src/components/base/FlipTicker/index.js +++ b/src/components/base/FlipTicker/index.js @@ -51,7 +51,7 @@ class FlipTicker extends PureComponent { const { height } = this.state return ( (this._node = n)} {...p}> - {value.split('').map((l, i) => ( + {[...value].map((l, i) => ( {!/[0-9]/.test(l) ? ( l === ' ' ? (