aboutsummaryrefslogtreecommitdiff
path: root/src/App.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-06-10 19:20:19 -0400
committerIvan Chen <ivan@tagg.id>2021-06-10 19:20:19 -0400
commit2f9ecfb9bc89c7c6e7ac09952b97d3f3813075bc (patch)
tree352386ad82382a506b49232473bdab820e6fe4ff /src/App.tsx
parent770dcf385fa99fbb93c4ae89a51b09fd96d23bf9 (diff)
Add logic for keyboard focus
Diffstat (limited to 'src/App.tsx')
-rw-r--r--src/App.tsx19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/App.tsx b/src/App.tsx
index 92e7abee..64f40bae 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -27,16 +27,15 @@ export const ChatContext = React.createContext({} as ChatContextType);
const App = () => {
const routeNameRef = useRef();
const [channel, setChannel] = useState<ChannelGroupedType>();
- const chatClient =
- StreamChat.getInstance<
- LocalAttachmentType,
- LocalChannelType,
- LocalCommandType,
- LocalEventType,
- LocalMessageType,
- LocalResponseType,
- LocalUserType
- >(STREAM_CHAT_API);
+ const chatClient = StreamChat.getInstance<
+ LocalAttachmentType,
+ LocalChannelType,
+ LocalCommandType,
+ LocalEventType,
+ LocalMessageType,
+ LocalResponseType,
+ LocalUserType
+ >(STREAM_CHAT_API);
return (
<Provider store={store}>
<NavigationContainer