Skip to content

Commit

Permalink
fix: remove the unnecessary remapping of chat-core import (#1837)
Browse files Browse the repository at this point in the history
  • Loading branch information
santhoshvai authored Nov 30, 2022
1 parent 1b159d9 commit 25815d5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 2 additions & 1 deletion package/src/components/Chat/hooks/useAppSettings.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { useEffect, useRef, useState } from 'react';

import type { AppSettingsAPIResponse, StreamChat } from 'stream-chat';
import type { DefaultStreamChatGenerics } from 'stream-chat-react-native';

import type { DefaultStreamChatGenerics } from '../../../types/types';

export const useAppSettings = <
StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,
Expand Down
3 changes: 0 additions & 3 deletions package/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"compilerOptions": {
"baseUrl": "./",
"paths": {
"stream-chat-react-native": ["./src/index"]
},
"allowUnreachableCode": false,
"allowUnusedLabels": false,
"esModuleInterop": true,
Expand Down

0 comments on commit 25815d5

Please sign in to comment.