1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-11 00:08:30 +01:00

Merge branch 'main' into refactor/users-list

This commit is contained in:
Youssef Khedher 2022-01-27 16:45:40 +01:00 committed by GitHub
commit 1f3d1e93cf

View File

@ -104,7 +104,7 @@ const ContextForm: React.FC<IContextForm> = ({
label="Context name"
value={contextName}
disabled={mode === 'Edit'}
onChange={e => setContextName(e.target.value)}
onChange={e => setContextName(trim(e.target.value))}
error={Boolean(errors.name)}
errorText={errors.name}
onFocus={() => clearErrors()}