import type { FC } from "hono/jsx"; export const Message: FC<{ url: string }> = (props) => { const url = new URL(props.url); const msg = url.searchParams.get("msg"); const error = url.searchParams.get("error"); if (error) return
; else if (msg) return ; else return null; }; export const AddRecipe: FC = () => { return ( ); }; export const RecipesList: FC<{ recipes: Recipe[] }> = (props) => { return ( ); }; export const GroceryList: FC<{ recipes: Recipe[]; ingredients: GroceryItem[]; }> = (props) => { return (