Fix linting errors #6
Annotations
1 error and 6 warnings
Lint, Check Types
Process completed with exit code 1.
|
Lint, Check Types:
guest-list-mobile/app/index.tsx#L55
'firstName' is already declared in the upper scope on line 40 column 11
|
Lint, Check Types:
guest-list-mobile/app/index.tsx#L55
'lastName' is already declared in the upper scope on line 40 column 22
|
Lint, Check Types:
guest-list-mobile/app/index.tsx#L69
Promises must be awaited, end with a call to .catch, or end with a call to .then with a rejection handler
|
Lint, Check Types:
guest-list-mobile/app/index.tsx#L71
Promises must be awaited, end with a call to .catch, or end with a call to .then with a rejection handler
|
Lint, Check Types:
guest-list-mobile/app/index.tsx#L72
React Hook useEffect has a missing dependency: 'guests'. Either include it or remove the dependency array. You can also do a functional update 'setGuests(g => ...)' if you only need 'guests' in the 'setGuests' call
|
Lint, Check Types:
guest-list-mobile/app/index.tsx#L75
Empty components are self-closing
|