Skip to content

Commit

Permalink
fix: minor changes according to pr review
Browse files Browse the repository at this point in the history
  • Loading branch information
inigomarquinez committed Feb 29, 2024
1 parent 1ef1a95 commit bddcea4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
17 changes: 9 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -171,23 +171,24 @@ Reminder: the 'countryAndRegions' prop that can be sent in the ReactFormBuilder
```

### Custom list country example:

```json
{
{
countryName: 'MyOwnCountry1',
countryShortCode: 'MC1'
"countryName": "MyOwnCountry1",
"countryShortCode": "MC1"
},
{
countryName: 'MyOwnCountry2',
countryShortCode: 'MC2'
"countryName": "MyOwnCountry2",
"countryShortCode": "MC2"
},
{
countryName: 'MyOwnCountry3',
countryShortCode: 'MC3'
"countryName": "MyOwnCountry3",
"countryShortCode": "MC3"
},
{
countryName: 'MyOwnCountry4',
countryShortCode: 'MC4'
"countryName": "MyOwnCountry4",
"countryShortCode": "MC4"
}
}

Expand Down
1 change: 0 additions & 1 deletion example/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ module.exports = exports = {
'import/no-duplicates': WARN,
'react/jsx-no-bind': WARN,
'wrap-regex': WARN,

'no-console': WARN,
}
}
1 change: 0 additions & 1 deletion example/src/error-page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { useRouteError } from 'react-router-dom'

export default function ErrorPage() {
const error = useRouteError();
// console.error(error);

return (
<div id="error-page">
Expand Down

0 comments on commit bddcea4

Please sign in to comment.