Skip to content

Commit 25815d5

Browse files
authored
fix: remove the unnecessary remapping of chat-core import (#1837)
1 parent 1b159d9 commit 25815d5

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

package/src/components/Chat/hooks/useAppSettings.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import { useEffect, useRef, useState } from 'react';
22

33
import type { AppSettingsAPIResponse, StreamChat } from 'stream-chat';
4-
import type { DefaultStreamChatGenerics } from 'stream-chat-react-native';
4+
5+
import type { DefaultStreamChatGenerics } from '../../../types/types';
56

67
export const useAppSettings = <
78
StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics,

package/tsconfig.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
{
22
"compilerOptions": {
33
"baseUrl": "./",
4-
"paths": {
5-
"stream-chat-react-native": ["./src/index"]
6-
},
74
"allowUnreachableCode": false,
85
"allowUnusedLabels": false,
96
"esModuleInterop": true,

0 commit comments

Comments
 (0)