diff --git a/package.json b/package.json index 0daeca93f..4b440266b 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "@types/react-router-hash-link": "^2.4.9", "@types/tabulator-tables": "^5.6.0", "axios": "^1.4.0", + "detect-it": "^4.0.1", "dom-to-image": "^2.6.0", "dotenv": "^16.4.5", "easy-peasy": "^6.0.1", diff --git a/src/app/pages/grants/layout.tsx b/src/app/pages/grants/layout.tsx index f0baf52a1..8194d6cc2 100644 --- a/src/app/pages/grants/layout.tsx +++ b/src/app/pages/grants/layout.tsx @@ -157,19 +157,22 @@ export const GrantsLayout: React.FC = ( {filterPopoverContent} = ( )} = ( }, }} data-cy="grants-search-btn" - onClick={handleSearchIconClick(!showSearch)} + // onClick={handleSearchIconClick(!showSearch)} > - {showSearch ? ( - - ) : ( - - )} + + +