diff --git a/desktop/flipper-ui/src/deeplink.tsx b/desktop/flipper-ui/src/deeplink.tsx index 4dee6d2f9d5..bbbd43a9dfa 100644 --- a/desktop/flipper-ui/src/deeplink.tsx +++ b/desktop/flipper-ui/src/deeplink.tsx @@ -47,7 +47,7 @@ export async function handleDeeplink( // or alternatively flipper://welcome to open the welcome screen. return; } - if (uri.href.startsWith('flipper://open-plugin')) { + if (uri.pathname === '//open-plugin') { return handleOpenPluginDeeplink(store, query, trackInteraction); } if (uri.pathname.match(/^\/*import\/*$/)) {