From ece7a02902a1a41906429a0038f9cb6a827478a6 Mon Sep 17 00:00:00 2001 From: Emi Matchu Date: Tue, 27 Feb 2024 16:25:17 -0800 Subject: [PATCH] Remove our testing-escape-hatch for item search from the console Did this before we had the ability to trigger searches from the app itself, to allow me to open up the browser JS console and call this function directly. Now we can just do it in app, goodbye! --- app/javascript/wardrobe-2020/loaders/items.js | 1 - 1 file changed, 1 deletion(-) diff --git a/app/javascript/wardrobe-2020/loaders/items.js b/app/javascript/wardrobe-2020/loaders/items.js index 1b3f5d1e..fe53941a 100644 --- a/app/javascript/wardrobe-2020/loaders/items.js +++ b/app/javascript/wardrobe-2020/loaders/items.js @@ -98,7 +98,6 @@ async function loadItemSearch(searchOptions) { return result; } -window.loadItemSearch = loadItemSearch; /** * writeItemToApolloCache is one last important bridge between our loaders and