diff --git a/src/app/components/GifPicker.tsx b/src/app/components/GifPicker.tsx index 40b3f060d..ac8a4db8a 100644 --- a/src/app/components/GifPicker.tsx +++ b/src/app/components/GifPicker.tsx @@ -19,10 +19,21 @@ type GifPickerInnerProps = { // Small monospace section header matching the picker's `// GIF_SEARCH` treatment // (lotusTerminal) / a muted label otherwise. -function SectionLabel({ text, lotusTerminal }: { text: string; lotusTerminal: boolean }) { +const RECENT_LABEL_ID = 'gif-picker-recent-label'; + +function SectionLabel({ + text, + lotusTerminal, + id, +}: { + text: string; + lotusTerminal: boolean; + id?: string; +}) { if (lotusTerminal) { return (
void; + onPick: (gif: RecentGif) => void; }) { return (
- -
- {recents.map((g) => ( + +
+ {recents.map((g, i) => (