Skip to content

Commit bddcea4

Browse files
fix: minor changes according to pr review
1 parent 1ef1a95 commit bddcea4

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -171,23 +171,24 @@ Reminder: the 'countryAndRegions' prop that can be sent in the ReactFormBuilder
171171
```
172172

173173
### Custom list country example:
174+
174175
```json
175176
{
176177
{
177-
countryName: 'MyOwnCountry1',
178-
countryShortCode: 'MC1'
178+
"countryName": "MyOwnCountry1",
179+
"countryShortCode": "MC1"
179180
},
180181
{
181-
countryName: 'MyOwnCountry2',
182-
countryShortCode: 'MC2'
182+
"countryName": "MyOwnCountry2",
183+
"countryShortCode": "MC2"
183184
},
184185
{
185-
countryName: 'MyOwnCountry3',
186-
countryShortCode: 'MC3'
186+
"countryName": "MyOwnCountry3",
187+
"countryShortCode": "MC3"
187188
},
188189
{
189-
countryName: 'MyOwnCountry4',
190-
countryShortCode: 'MC4'
190+
"countryName": "MyOwnCountry4",
191+
"countryShortCode": "MC4"
191192
}
192193
}
193194

example/.eslintrc.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,6 @@ module.exports = exports = {
224224
'import/no-duplicates': WARN,
225225
'react/jsx-no-bind': WARN,
226226
'wrap-regex': WARN,
227-
228227
'no-console': WARN,
229228
}
230229
}

example/src/error-page.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { useRouteError } from 'react-router-dom'
33

44
export default function ErrorPage() {
55
const error = useRouteError();
6-
// console.error(error);
76

87
return (
98
<div id="error-page">

0 commit comments

Comments
 (0)