Skip to content

Commit

Permalink
feat: made source public
Browse files Browse the repository at this point in the history
  • Loading branch information
bigint committed Apr 2, 2024
1 parent 6d45e5f commit 028aa66
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apps/web/src/components/Publication/PublicationHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { XMarkIcon } from '@heroicons/react/24/outline';
import { isMirrorPublication } from '@hey/lib/publicationHelpers';
import stopEventPropagation from '@hey/lib/stopEventPropagation';
import { usePublicationStore } from 'src/store/non-persisted/publication/usePublicationStore';
import { useFeatureFlagsStore } from 'src/store/persisted/useFeatureFlagsStore';

import PublicationMenu from './Actions/Menu';

Expand All @@ -24,7 +23,6 @@ const PublicationHeader: FC<PublicationHeaderProps> = ({
quoted = false
}) => {
const { setQuotedPublication } = usePublicationStore();
const { gardenerMode } = useFeatureFlagsStore();

const targetPublication = isMirrorPublication(publication)
? publication?.mirrorOn
Expand All @@ -43,7 +41,7 @@ const PublicationHeader: FC<PublicationHeaderProps> = ({
<PublicationProfile
profile={profile}
publicationId={targetPublication.id}
source={gardenerMode ? targetPublication.publishedOn?.id : undefined}
source={targetPublication.publishedOn?.id}
timestamp={timestamp}
/>
{!publication.isHidden && !quoted ? (
Expand Down

1 comment on commit 028aa66

@vercel
Copy link

@vercel vercel bot commented on 028aa66 Apr 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

web – ./apps/web

heyxyz.vercel.app
web-git-main-heyxyz.vercel.app
web-heyxyz.vercel.app
hey.xyz

Please sign in to comment.