Multi attachment content type #1060
Annotations
6 errors and 10 warnings
lint:
example/src/ConversationScreen.tsx#L4
'xmtp-react-native-sdk' imported multiple times
|
lint:
example/src/ConversationScreen.tsx#L37
'xmtp-react-native-sdk' imported multiple times
|
lint:
example/src/ConversationScreen.tsx#L718
React Hook "ImagePicker.useCameraPermissions" cannot be called inside a callback. React Hooks must be called in a React function component or a custom React Hook function
|
lint:
example/src/hooks.tsx#L519
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
lint:
example/src/hooks.tsx#L692
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
lint
Process completed with exit code 1.
|
lint:
example/src/ConversationScreen.tsx#L4
`xmtp-react-native-sdk` import should occur after import of `react-native`
|
lint:
example/src/ConversationScreen.tsx#L76
Delete `··`
|
lint:
example/src/ConversationScreen.tsx#L84
Insert `··`
|
lint:
example/src/ConversationScreen.tsx#L85
Replace `const·[previewingAttachmentIndex,·setPreviewingAttachmentIndex]·=·useState<number·|·null` with `··const·[previewingAttachmentIndex,·setPreviewingAttachmentIndex]·=·useState<⏎····number·|·null⏎··`
|
lint:
example/src/ConversationScreen.tsx#L86
Insert `··`
|
lint:
example/src/ConversationScreen.tsx#L87
Insert `··`
|
lint:
example/src/ConversationScreen.tsx#L88
Replace `····.filter(a·=>·(a.image?.uri·||·a.file?.uri)` with `······.filter((a)·=>·a.image?.uri·||·a.file?.uri`
|
lint:
example/src/ConversationScreen.tsx#L89
Replace `····.map(a` with `······.map((a)`
|
lint:
example/src/ConversationScreen.tsx#L90
Replace `······const·uri·=·a.image?.uri·||·a.file?.uri·||·'';` with `········const·uri·=·a.image?.uri·||·a.file?.uri·||·''`
|
lint:
example/src/ConversationScreen.tsx#L91
Insert `··`
|