diff options
author | 2019-10-21 16:29:04 +0200 | |
---|---|---|
committer | 2019-10-21 16:29:04 +0200 | |
commit | 0a0a076e593ede83dc3ad70ec131491834253752 (patch) | |
tree | d1d467e9212577c1414de830dc30aa5ea0a0483f /src/features | |
parent | don't initialize menu & touchbar on /payment/ routes (diff) | |
download | ferdium-app-0a0a076e593ede83dc3ad70ec131491834253752.tar.gz ferdium-app-0a0a076e593ede83dc3ad70ec131491834253752.tar.zst ferdium-app-0a0a076e593ede83dc3ad70ec131491834253752.zip |
provide a float instead of mixed string and int
Diffstat (limited to 'src/features')
-rw-r--r-- | src/features/trialStatusBar/containers/TrialStatusBarScreen.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/trialStatusBar/containers/TrialStatusBarScreen.js b/src/features/trialStatusBar/containers/TrialStatusBarScreen.js index 35b70a5bc..e15a1204f 100644 --- a/src/features/trialStatusBar/containers/TrialStatusBarScreen.js +++ b/src/features/trialStatusBar/containers/TrialStatusBarScreen.js | |||
@@ -81,7 +81,7 @@ class TrialStatusBarScreen extends Component { | |||
81 | <ErrorBoundary> | 81 | <ErrorBoundary> |
82 | <TrialStatusBar | 82 | <TrialStatusBar |
83 | planName={planName} | 83 | planName={planName} |
84 | percent={percent < 5 ? 5 : percent} | 84 | percent={parseFloat(percent < 5 ? 5 : percent)} |
85 | trialEnd={restTime} | 85 | trialEnd={restTime} |
86 | upgradeAccount={() => upgradeAccount({ | 86 | upgradeAccount={() => upgradeAccount({ |
87 | planId: user.team.plan, | 87 | planId: user.team.plan, |