Skip to content

Commit

Permalink
trim cron string
Browse files Browse the repository at this point in the history
  • Loading branch information
pnaik1 committed Aug 5, 2024
1 parent 73e69e5 commit c526388
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const TriggerTypeField: React.FC<TriggerTypeFieldProps> = ({ data, onChange }) =
clickTip="Copied"
onChange={(e, value) => {
if (typeof value === 'string') {
onChange({ ...data, value });
onChange({ ...data, value: value.trim() });
}
}}
>
Expand Down

0 comments on commit c526388

Please sign in to comment.