Skip to content

Commit 491a957

Browse files
committed
fix: lint issues
1 parent 51361c1 commit 491a957

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

package/src/components/AutoCompleteInput/AutoCompleteInput.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,7 @@ type AutoCompleteInputPropsWithContext = Pick<
6363
| 'text'
6464
| 'triggerSettings'
6565
> &
66-
Pick<
67-
SuggestionsContextValue,
68-
'closeSuggestions' | 'openSuggestions' | 'updateSuggestions'
69-
> &
66+
Pick<SuggestionsContextValue, 'closeSuggestions' | 'openSuggestions' | 'updateSuggestions'> &
7067
Pick<TranslationContextValue, 't'> & {
7168
/**
7269
* This is currently passed in from MessageInput to avoid rerenders
@@ -461,9 +458,7 @@ const MemoizedAutoCompleteInput = React.memo(
461458
areEqual,
462459
) as typeof AutoCompleteInputWithContext;
463460

464-
export const AutoCompleteInput = (
465-
props: AutoCompleteInputProps,
466-
) => {
461+
export const AutoCompleteInput = (props: AutoCompleteInputProps) => {
467462
const {
468463
giphyEnabled,
469464
additionalTextInputProps,

package/src/components/MessageInput/MessageInput.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,10 @@ const styles = StyleSheet.create({
104104
},
105105
});
106106

107-
type MessageInputPropsWithContext = Pick<AttachmentPickerContextValue, 'AttachmentPickerSelectionBar'> &
107+
type MessageInputPropsWithContext = Pick<
108+
AttachmentPickerContextValue,
109+
'AttachmentPickerSelectionBar'
110+
> &
108111
Pick<ChatContextValue, 'isOnline'> &
109112
Pick<ChannelContextValue, 'channel' | 'members' | 'threadList' | 'watchers'> &
110113
Pick<

0 commit comments

Comments
 (0)