Skip to content
This repository has been archived by the owner on Jan 2, 2025. It is now read-only.

Commit

Permalink
fix: error on feed for app embeds
Browse files Browse the repository at this point in the history
  • Loading branch information
horacioh committed Apr 9, 2024
1 parent e27d06e commit 2c1b41c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions frontend/packages/app/components/app-embeds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -151,15 +151,15 @@ export function EmbedPublicationContent(props: EntityComponentProps) {
pub={pub.data?.publication}
EmbedWrapper={EmbedWrapper}
renderOpenButton={() =>
docId && (
documentId && (
<Button
size="$2"
icon={ArrowUpRightSquare}
onPress={() => {
if (!docId) return
if (!documentId) return
spawn({
key: 'publication',
documentId: docId,
documentId,
variants: props.variants || undefined,
versionId: props.version || undefined,
})
Expand Down

0 comments on commit 2c1b41c

Please sign in to comment.