chore(blog): reorder PostRow props to group required before optional

Code review nit: searchText (required) was appended after the optional
deck/tag, breaking the required-then-optional convention used by the
rest of the interface.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Josh Bairstow 2026-06-02 00:10:25 +10:00
parent cc04ea7753
commit 9158207657

View file

@ -3,12 +3,12 @@ interface Props {
date: string; date: string;
title: string; title: string;
href: string; href: string;
searchText: string;
deck?: string; deck?: string;
tag?: string; tag?: string;
searchText: string;
} }
const { date, title, href, deck, tag, searchText } = Astro.props; const { date, title, href, searchText, deck, tag } = Astro.props;
--- ---
<a class="postrow" href={href} data-search={searchText}> <a class="postrow" href={href} data-search={searchText}>