diff --git a/_app/src/HomePage.js b/_app/src/HomePage.js index 27e2fff4..27f63ec9 100644 --- a/_app/src/HomePage.js +++ b/_app/src/HomePage.js @@ -179,6 +179,7 @@ const Examples = () => { const onChangeSelection = ( [ selectedExampleSlug ] ) => { setSelectedExample( selectedExampleSlug ); }; + useEffect( () => { if ( filterTags ) { setSearchParams( { tags: filterTags, operator: filterOperator } ); @@ -220,12 +221,14 @@ const Examples = () => { <_DataViews />
- { selectedExample && ( + { selectedExample ? (