From 825c613db83f05171d778b9becea72e80ad5cfe2 Mon Sep 17 00:00:00 2001 From: Ben Wheeler Date: Tue, 1 Oct 2019 18:04:47 -0400 Subject: [PATCH] truncate custom gender to 25 chars long --- src/components/join-flow/gender-step.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/join-flow/gender-step.jsx b/src/components/join-flow/gender-step.jsx index aeeb970e6..fa450eb44 100644 --- a/src/components/join-flow/gender-step.jsx +++ b/src/components/join-flow/gender-step.jsx @@ -150,8 +150,8 @@ class GenderStep extends React.Component { value={values.custom} /* eslint-disable react/jsx-no-bind */ onSetCustom={newCustomVal => setValues({ - gender: newCustomVal, - custom: newCustomVal + gender: newCustomVal.substring(0, 25), + custom: newCustomVal.substring(0, 25) })} onSetCustomRef={this.handleSetCustomRef} /* eslint-enable react/jsx-no-bind */