Skip to content

Commit

Permalink
fix tags not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
muzanella11 committed Sep 26, 2024
1 parent 6ac985c commit 5e248eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export default function DocumentDetailsPage() {
}, [documentError, writeError]);

useEffect(() => {
if (document && showModalMetadata) {
if (document) {
setTitle(document.data.title as string);
setDescription(document.data.blurb as string);
setTags(document.data.tags as string[]);
Expand Down

0 comments on commit 5e248eb

Please sign in to comment.