Skip to content

Commit

Permalink
fix: supress legacy richtext warning on SDK level
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosabu committed Sep 4, 2024
1 parent 201aea0 commit 7a0d6ae
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 7a0d6ae

Please sign in to comment.