Skip to content

Commit

Permalink
Merge pull request #781 from digirati-co-uk/MAD-1419/hotfix/metadata-…
Browse files Browse the repository at this point in the history
…missing

fix metdata dissapearing on relaod sometimes
  • Loading branch information
Heather0K committed Aug 14, 2023
2 parents 2f75259 + 6a504a2 commit 2ee2eb4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const CanvasMetadata: React.FC<{ compact?: boolean; showEmptyMessage?: bo
const createLink = useRelativeLinks();
const { canvas } = useMetadataSuggestionConfiguration();

if (!data || !metadataConfig) {
if (!data) {
return null;
}

Expand Down

0 comments on commit 2ee2eb4

Please sign in to comment.