Skip to content

Commit

Permalink
Address the comment from @ikhoon
Browse files Browse the repository at this point in the history
  • Loading branch information
minwoox committed Aug 28, 2024
1 parent 19bd468 commit f38338e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ const MirrorForm = ({ projectName, defaultValue, onSubmit, isWaitingResponse }:
type="text"
defaultValue={defaultValue.remoteUrl}
placeholder="my.git.com/org/myrepo.git"
{...register('remoteUrl', { required: true, pattern: /^[\w.-]+(:[0-9]+)?\/[\w.\-\/]+.git$/ })}
{...register('remoteUrl', { required: true, pattern: /^[\w.\-]+(:[0-9]+)?\/[\w.\-\/]+.git$/ })}
/>
<FieldErrorMessage
error={errors.remoteUrl}
Expand Down

0 comments on commit f38338e

Please sign in to comment.