Skip to content

Commit e011ded

Browse files
committed
reorder imports to follow styleguide
1 parent 10fdae5 commit e011ded

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

examples/SampleApp/src/screens/ThreadScreen.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ import { ScreenHeader } from '../components/ScreenHeader';
1414

1515
import type { RouteProp } from '@react-navigation/native';
1616

17-
import type { Channel as StreamChatChannel } from 'stream-chat';
18-
1917
import type {
2018
LocalAttachmentType,
2119
LocalChannelType,

src/components/MessageList/TypingIndicatorContainer.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
import React, { PropsWithChildren } from 'react';
22
import { StyleSheet, View } from 'react-native';
33

4+
import { filterTypingUsers } from './utils/filterTypingUsers';
5+
46
import {
57
ChatContextValue,
68
useChatContext,
79
} from '../../contexts/chatContext/ChatContext';
810
import { useTheme } from '../../contexts/themeContext/ThemeContext';
9-
import {
10-
TypingContextValue,
11-
useTypingContext,
12-
} from '../../contexts/typingContext/TypingContext';
1311
import {
1412
ThreadContextValue,
1513
useThreadContext,
1614
} from '../../contexts/threadContext/ThreadContext';
15+
import {
16+
TypingContextValue,
17+
useTypingContext,
18+
} from '../../contexts/typingContext/TypingContext';
1719

1820
import type {
1921
DefaultAttachmentType,
@@ -26,8 +28,6 @@ import type {
2628
UnknownType,
2729
} from '../../types/types';
2830

29-
import { filterTypingUsers } from './utils/filterTypingUsers';
30-
3131
const styles = StyleSheet.create({
3232
container: {
3333
bottom: 0,

src/components/MessageList/hooks/useTypingString.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1+
import { filterTypingUsers } from '../utils/filterTypingUsers';
2+
13
import { useChatContext } from '../../../contexts/chatContext/ChatContext';
4+
import { useThreadContext } from '../../../contexts/threadContext/ThreadContext';
25
import { useTranslationContext } from '../../../contexts/translationContext/TranslationContext';
36
import { useTypingContext } from '../../../contexts/typingContext/TypingContext';
4-
import { useThreadContext } from '../../../contexts/threadContext/ThreadContext';
57

68
import type {
79
DefaultAttachmentType,
@@ -14,8 +16,6 @@ import type {
1416
UnknownType,
1517
} from '../../../types/types';
1618

17-
import { filterTypingUsers } from '../utils/filterTypingUsers';
18-
1919
export const useTypingString = <
2020
At extends UnknownType = DefaultAttachmentType,
2121
Ch extends UnknownType = DefaultChannelType,

0 commit comments

Comments
 (0)