{sectionsLoading ? (
) : sections.length === 0 ? (
{searchQuery ? (
<>
{t`No sections found`}
{t`Try adjusting your search`}
>
) : (
<>
{t`No sections available`}
{t`Create sections in the Sections library to use them here`}
>
)}
) : (
{sections.map((section) => (
handleSelect(section)}
/>
))}
)}
{/* Footer */}