fix: short urls

This commit is contained in:
kieran 2024-05-21 09:36:17 +01:00
parent da6ed3c5d4
commit 360e74d30e
No known key found for this signature in database
GPG Key ID: DE71CEB3925BE941

View File

@ -24,7 +24,7 @@ export function LinkHandler() {
<NostrEventElement link={link} />
</div>
);
} else if (link.kind === EventKind.LiveEvent) {
} else if (link.kind === EventKind.LiveEvent || link.type === NostrPrefix.PublicKey) {
return (
<div className={classNames(layoutContext.showHeader ? "h-[calc(100dvh-44px)]" : "h-[calc(100dvh)]", "w-full")}>
<StreamPage link={link} evPreload={evPreload} />