diff --git a/packages/marketing/src/scenes/Footer/components/WorkshopLinks/WorkshopLinks.tsx b/packages/marketing/src/scenes/Footer/components/WorkshopLinks/WorkshopLinks.tsx index 7193e11..2c7bc61 100644 --- a/packages/marketing/src/scenes/Footer/components/WorkshopLinks/WorkshopLinks.tsx +++ b/packages/marketing/src/scenes/Footer/components/WorkshopLinks/WorkshopLinks.tsx @@ -5,7 +5,12 @@ import FooterLinks from "../../shared/components/FooterLinks"; export const links = [ { text: "Introduction", href: "/", external: false }, { - text: "Repo ", + text: "Exercises", + href: "/workshop/exercise-1", + external: false, + }, + { + text: "Repo", href: "https://github.com/bitovi/enterprise-grade-micro-frontends", external: true, }, diff --git a/packages/workshop/src/scenes/Exercises/components/SearchingTheCatalog/SearchingTheCatalog.tsx b/packages/workshop/src/scenes/Exercises/components/SearchingTheCatalog/SearchingTheCatalog.tsx index c617e40..effa4c1 100644 --- a/packages/workshop/src/scenes/Exercises/components/SearchingTheCatalog/SearchingTheCatalog.tsx +++ b/packages/workshop/src/scenes/Exercises/components/SearchingTheCatalog/SearchingTheCatalog.tsx @@ -11,13 +11,7 @@ const code = `const searchFilter = (item: CatalogItem) => { }`; const params = `const [searchParams, setSearchParams] = useSearchParams(); - -const category = searchParams.get("categories"); - -const setCategory = (category: string) => { - // alt: setSearchParams('category', category) - setSearchParams({ category }); -};`; +`; const SearchingTheCatalog: FC = () => { return (