Merge pull request #706 from github/fix/samples-modal-close

Fix modal close button on samples page
This commit is contained in:
Aaron Powell
2026-02-12 14:26:32 +11:00
committed by GitHub

View File

@@ -5,6 +5,7 @@
import { FuzzySearch, type SearchableItem } from "../search"; import { FuzzySearch, type SearchableItem } from "../search";
import { fetchData, escapeHtml } from "../utils"; import { fetchData, escapeHtml } from "../utils";
import { createChoices, getChoicesValues, type Choices } from "../choices"; import { createChoices, getChoicesValues, type Choices } from "../choices";
import { setupModal } from "../modal";
// Types // Types
interface Language { interface Language {
@@ -82,6 +83,7 @@ export async function initSamplesPage(): Promise<void> {
search = new FuzzySearch(allRecipes); search = new FuzzySearch(allRecipes);
// Setup UI // Setup UI
setupModal();
setupFilters(); setupFilters();
setupSearch(); setupSearch();
renderCookbooks(); renderCookbooks();