Skip to content

Commit

Permalink
fix(form): new ? typo
Browse files Browse the repository at this point in the history
  • Loading branch information
masopego committed Nov 24, 2022
1 parent 1032f6d commit a4ae823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Questions/Phone/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const QuestionPhone = ({ isMobile, isoCode, question, useForm, ...props }) => {

const getDefaultCountry = () => {
if (question.defaultCountry && question.defaultCountry !== '')
return question?.defaultCountry.toUpperCase()
return question.defaultCountry.toUpperCase()

if (isoCode) return isoCode.toUpperCase()

Expand Down

0 comments on commit a4ae823

Please sign in to comment.