Skip to content

Commit

Permalink
Merge pull request #569 from storyblok/bugfix/pass-down-deprecation-s…
Browse files Browse the repository at this point in the history
…upressor-render-richtext

fix: supress legacy richtext warning on SDK level
  • Loading branch information
alvarosabu authored Sep 4, 2024
2 parents 5217004 + 7a0d6ae commit 653b193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ export const renderRichText = (
}
// NOTE: This will warn the user about deprecation of legacy Richtext when https://github.com/storyblok/storyblok-js-client/pull/845 is merged
// WE supress the warning on SDK level to avoid spamming the console since user would not need to do anything about it
return localResolver.render(data, {}, true);
return localResolver.render(data, {}, false);
};

export const loadStoryblokBridge = () => loadBridge(bridgeLatest);
Expand Down

0 comments on commit 653b193

Please sign in to comment.