wrap categories

This commit is contained in:
verbiricha 2024-04-19 12:34:09 +02:00
parent 05c7021ca1
commit af15a9f668
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ export default function VideoGridSorted({ evs, showAll }: { evs: Array<TaggedNos
(ev: NostrEvent) => {
return tags.find(t => t.at(1) === getHost(ev));
},
[tags]
[tags],
);
const { live, planned, ended } = useSortedStreams(evs, showAll ? 0 : undefined);
const hashtags = getTagValues(tags, "t");

View File

@ -85,7 +85,7 @@ export default function Category() {
const results = useRequestBuilder(sub);
return (
<div>
<div className="flex gap-4">
<div className="flex flex-wrap gap-4">
{AllCategories.map(a => (
<CategoryLink key={a.id} {...a} />
))}