Skip to content

Commit

Permalink
update footer and exercise 10
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidNic11 committed Aug 1, 2024
1 parent c802fc3 commit 0c0c354
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down

0 comments on commit 0c0c354

Please sign in to comment.