Skip to content

Commit 5f96816

Browse files
committed
fix: linter issues
1 parent b1c657b commit 5f96816

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

examples/SampleApp/src/screens/ChannelListScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
1+
import React, { useCallback, useMemo, useRef, useState } from 'react';
22
import { FlatList, StyleSheet, Text, TextInput, TouchableOpacity, View } from 'react-native';
33
import { useNavigation, useScrollToTop } from '@react-navigation/native';
44
import { ChannelList, CircleClose, Search, useTheme } from 'stream-chat-react-native';

package/src/components/ChannelList/__tests__/ChannelListMessenger.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ describe('ChannelListMessenger', () => {
8080
});
8181

8282
it('renders the `LoadingErrorIndicator` when `error` prop is true', async () => {
83-
const { getByTestId } = render(<Component channels={mockChannels} error={true} loadingChannels={false} />);
83+
const { getByTestId } = render(
84+
<Component channels={mockChannels} error={true} loadingChannels={false} />,
85+
);
8486
await waitFor(() => {
8587
expect(getByTestId('loading-error')).toBeTruthy();
8688
});

0 commit comments

Comments
 (0)