diff --git a/desktop/plugins/public/ui-debugger/fb-stubs/StreamInterceptor.tsx b/desktop/plugins/public/ui-debugger/fb-stubs/StreamInterceptor.tsx index e2561b64b..fbc5ea82b 100644 --- a/desktop/plugins/public/ui-debugger/fb-stubs/StreamInterceptor.tsx +++ b/desktop/plugins/public/ui-debugger/fb-stubs/StreamInterceptor.tsx @@ -7,9 +7,10 @@ * @format */ +import {DeviceOS} from 'flipper-plugin'; import {Id, Metadata, StreamInterceptor, UINode} from '../types'; -export function getStreamInterceptor(): StreamInterceptor { +export function getStreamInterceptor(_: DeviceOS): StreamInterceptor { return new NoOpStreamInterceptor(); } diff --git a/desktop/plugins/public/ui-debugger/index.tsx b/desktop/plugins/public/ui-debugger/index.tsx index 123443c58..46a0f05ee 100644 --- a/desktop/plugins/public/ui-debugger/index.tsx +++ b/desktop/plugins/public/ui-debugger/index.tsx @@ -61,7 +61,7 @@ export function plugin(client: PluginClient) { const rootId = createState(undefined); const metadata = createState>(new Map()); - const streamInterceptor = getStreamInterceptor(); + const streamInterceptor = getStreamInterceptor(client.device.os); let lastFrameTime = 0; const os = client.device.os;