File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,7 @@ export function validate (
205205 case 'LATITUDE' :
206206 const isNotLat = value > 90 || value < - 90
207207 if ( isNotLat ) {
208- return validationIssue ( name , 'Field must be valid latitude.' )
208+ return validationIssue ( 'Field must be valid latitude.' )
209209 }
210210 if ( isOptionalAndEmpty && locationType !== null && ( typeof locationType === 'number' && locationType <= 2 ) ) {
211211 return validationIssue ( 'Latitude and Longitude are required for your current location type' )
@@ -330,7 +330,7 @@ export function validate (
330330 )
331331 )
332332 ) {
333- return validationIssue ( name , 'Field must be a positive integer' )
333+ return validationIssue ( 'Field must be a positive integer' )
334334 }
335335 return false
336336 case 'POSITIVE_NUM' :
You can’t perform that action at this time.
0 commit comments