import React from 'react' const OPENING_OR_OPEN = new Set(['opening', 'open']) export default function SearchOverlay({ phase, query, inputRef, loading, artworks, users, tags, activeIdx, onQueryChange, onClose, onSubmit, onKeyDown, onNavigate, }) { if (phase === 'closed') return null const hasResults = artworks.length > 0 || users.length > 0 || tags.length > 0 const isVisible = OPENING_OR_OPEN.has(phase) return (
) }