Fix search by query in Plugin Manager

Summary: I accidently broke search by query in a previous diff, so fixing it here

Reviewed By: passy

Differential Revision: D23842187

fbshipit-source-id: 9fcc7a46048ff99e1bf26c8a70ef0240b38018cb
This commit is contained in:
Anton Nikolaev
2020-09-22 10:33:52 -07:00
committed by Facebook GitHub Bot
parent e7fdd8332d
commit dfbf66408a
2 changed files with 13 additions and 4 deletions

View File

@@ -345,7 +345,7 @@ function useNPMSearch(
(async () => {
let cancelled = false;
const updatablePlugins = await reportPlatformFailures(
getUpdatablePlugins(),
getUpdatablePlugins(query),
`${TAG}:queryIndex`,
);
if (cancelled) {