From a350f58efcd699ce3e23bc1961f38ca4436a3a4e Mon Sep 17 00:00:00 2001 From: Max Richter Date: Fri, 8 Dec 2023 21:17:34 +0100 Subject: [PATCH] feat: catch all yaml parse errors --- components/Checkbox.tsx | 2 +- components/Rating.tsx | 4 ++-- components/Stars.tsx | 2 +- islands/Search.tsx | 6 +++--- lib/resource/articles.ts | 7 ++++++- lib/resource/recipes.ts | 6 +++++- static/global.css | 4 ++++ 7 files changed, 22 insertions(+), 9 deletions(-) diff --git a/components/Checkbox.tsx b/components/Checkbox.tsx index 09539c8..c35fdc1 100644 --- a/components/Checkbox.tsx +++ b/components/Checkbox.tsx @@ -73,7 +73,7 @@ const Checkbox = ( const id = `checkbox-${_id}`; return (