Skip to content

Commit 020a939

Browse files
committed
chore: prettier auto-fixes
1 parent 4a8c180 commit 020a939

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/network-activity-plugin/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ function App() {
5151
```
5252

5353
Optional: To capture network requests before your React Native app initialization, add this to your entrypoint:
54+
5455
```ts
5556
// index.js
5657
import { withOnBootNetworkActivityRecording } from '@rozenite/network-activity-plugin/react-native';

packages/network-activity-plugin/src/react-native/http/network-inspector.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const overridesRegistry = getOverridesRegistry();
1717
const queuedClient = getQueuedClientWrapper();
1818

1919
const setupXHRInterceptor = (): void => {
20-
if( XHRInterceptor.isInterceptorEnabled()) return;
20+
if (XHRInterceptor.isInterceptorEnabled()) return;
2121
XHRInterceptor.disableInterception();
2222
XHRInterceptor.setSendCallback((data, request) =>
2323
setupRequestTracking(queuedClient, networkRequestsRegistry, data, request),

packages/network-activity-plugin/src/react-native/http/queued-client-wrapper.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,7 @@ export type BootClientOptions = {
8989

9090
let instance: QueuedClientWrapper | null = null;
9191

92-
export const getQueuedClientWrapper = (
93-
): QueuedClientWrapper => {
92+
export const getQueuedClientWrapper = (): QueuedClientWrapper => {
9493
if (!instance) {
9594
instance = new QueuedClientWrapper();
9695
}

0 commit comments

Comments
 (0)