File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ const AddDomain = ({ closeModal, domains = [] }: AddDomainProps) => {
36
36
}
37
37
} ) ;
38
38
if ( invalidDomains . length > 0 ) {
39
- setNewDomainError ( `Please Insert Valid Domain URL. Invalid URLs: ${ invalidDomains . join ( ', ' ) } ` ) ;
39
+ setNewDomainError ( `Please Insert Valid Website URL. ${ invalidDomains . length > 1 ? ` Invalid URLs: ${ invalidDomains . join ( ', ' ) } ` : '' } ` ) ;
40
40
} else if ( domainsTobeAdded . length > 0 ) {
41
41
console . log ( 'domainsTobeAdded :' , domainsTobeAdded ) ;
42
42
addMutate ( domainsTobeAdded ) ;
@@ -51,11 +51,11 @@ const AddDomain = ({ closeModal, domains = [] }: AddDomainProps) => {
51
51
return (
52
52
< Modal closeModal = { ( ) => { closeModal ( false ) ; } } title = { 'Add New Domain' } >
53
53
< div data-testid = "adddomain_modal" >
54
- < h4 className = 'text-sm mt-4' > Domain URL</ h4 >
54
+ < h4 className = 'text-sm mt-4 pb-2' > Website URL(s) </ h4 >
55
55
< textarea
56
56
className = { `w-full h-40 border rounded border-gray-200 p-4 outline-none
57
57
focus:border-indigo-300 ${ newDomainError ? ' border-red-400 focus:border-red-400' : '' } ` }
58
- placeholder = " Type or Paste URLs here. Insert Each URL in a New line."
58
+ placeholder = { ' Type or Paste URLs here. Insert Each URL in a New line. eg: \nhttps://mysite.com/ \nhttps://anothersite.com/ ' }
59
59
value = { newDomain }
60
60
autoFocus = { true }
61
61
onChange = { handleDomainInput } >
You can’t perform that action at this time.
0 commit comments