Skip to content

Commit 5b0379f

Browse files
cleanup logger
1 parent c413fe6 commit 5b0379f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

packages/react-native/src/sync/stream/ReactNativeRemote.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ export const STREAMING_POST_TIMEOUT_MS = 30_000;
2727
* a polyfill.
2828
*/
2929
class ReactNativeFetchProvider extends FetchImplementationProvider {
30-
constructor(public logger: ILogger = DEFAULT_REMOTE_LOGGER) {
31-
super();
32-
}
33-
3430
getFetch(): FetchImplementation {
3531
return fetch.bind(globalThis);
3632
}
@@ -44,7 +40,7 @@ export class ReactNativeRemote extends AbstractRemote {
4440
) {
4541
super(connector, logger, {
4642
...(options ?? {}),
47-
fetchImplementation: options?.fetchImplementation ?? new ReactNativeFetchProvider(logger)
43+
fetchImplementation: options?.fetchImplementation ?? new ReactNativeFetchProvider()
4844
});
4945
}
5046

0 commit comments

Comments
 (0)