From 2f04dfa04de62b97f01508de71737b750fe343a0 Mon Sep 17 00:00:00 2001 From: Ali Unwala Date: Thu, 10 Sep 2020 17:39:36 -0500 Subject: [PATCH] fix: small typo --- .../src/components/GlobalSearch/GlobalSearch.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/gatsby-theme-carbon/src/components/GlobalSearch/GlobalSearch.js b/packages/gatsby-theme-carbon/src/components/GlobalSearch/GlobalSearch.js index 77ac61f48..55c6db981 100644 --- a/packages/gatsby-theme-carbon/src/components/GlobalSearch/GlobalSearch.js +++ b/packages/gatsby-theme-carbon/src/components/GlobalSearch/GlobalSearch.js @@ -195,7 +195,7 @@ const GlobalSearchInput = () => { aria-label="Open search" onClick={() => { toggleNavState('searchIsOpen', 'open'); - toggleNavState('switcherIsOpen', 'close') + toggleNavState('switcherIsOpen', 'close'); }}>