wrap categories
This commit is contained in:
@ -15,7 +15,7 @@ export default function VideoGridSorted({ evs, showAll }: { evs: Array<TaggedNos
|
|||||||
(ev: NostrEvent) => {
|
(ev: NostrEvent) => {
|
||||||
return tags.find(t => t.at(1) === getHost(ev));
|
return tags.find(t => t.at(1) === getHost(ev));
|
||||||
},
|
},
|
||||||
[tags]
|
[tags],
|
||||||
);
|
);
|
||||||
const { live, planned, ended } = useSortedStreams(evs, showAll ? 0 : undefined);
|
const { live, planned, ended } = useSortedStreams(evs, showAll ? 0 : undefined);
|
||||||
const hashtags = getTagValues(tags, "t");
|
const hashtags = getTagValues(tags, "t");
|
||||||
|
@ -85,7 +85,7 @@ export default function Category() {
|
|||||||
const results = useRequestBuilder(sub);
|
const results = useRequestBuilder(sub);
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<div className="flex gap-4">
|
<div className="flex flex-wrap gap-4">
|
||||||
{AllCategories.map(a => (
|
{AllCategories.map(a => (
|
||||||
<CategoryLink key={a.id} {...a} />
|
<CategoryLink key={a.id} {...a} />
|
||||||
))}
|
))}
|
||||||
|
Reference in New Issue
Block a user