Added name when the components get no results

This commit is contained in:
Lucas Oliveira 2023-11-18 19:44:45 -03:00
commit 7c7a28f65f

View file

@ -400,9 +400,19 @@ export default function StorePage(): JSX.Element {
<div className="flex h-full w-full flex-col">
<div className="flex w-full flex-col gap-4">
<div className="grid w-full gap-4">
You haven't{" "}
{selectFilter === "createdbyme" ? "created" : "liked"}{" "}
anything yet.
{selectFilter != "all" ? (
<>
You haven't{" "}
{selectFilter === "createdbyme" ? "created" : "liked"}{" "}
anything with the selected filters yet.
</>
) : (
<>
There are no{" "}
{tabActive == "Flows" ? "Flows" : "Components"} with the
selected filters.
</>
)}
</div>
</div>
</div>