Skip to content

Commit f4d2fab

Browse files
committed
Update ShareHeader.tsx
1 parent 5cea4c7 commit f4d2fab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/web/app/s/[videoId]/_components/ShareHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ export const ShareHeader = ({
183183

184184
return (
185185
<>
186-
{user !== null && !isVideoOwnerPro && (
186+
{isOwner && !isVideoOwnerPro && (
187187
<div className="flex sticky flex-col sm:flex-row inset-x-0 top-0 z-10 gap-4 justify-center items-center px-3 py-2 mx-auto w-[calc(100%-20px)] max-w-fit rounded-b-xl border bg-gray-4 border-gray-6">
188188
<p className="text-center text-gray-12">
189189
Shareable links are limited to 5 mins on the free plan.

0 commit comments

Comments
 (0)