From 7a0d6ae0014cfeeeb843bcaabd1f7b02ce4dc918 Mon Sep 17 00:00:00 2001 From: alvarosabu Date: Wed, 4 Sep 2024 12:24:05 +0200 Subject: [PATCH] fix: supress legacy richtext warning on SDK level --- lib/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.ts b/lib/index.ts index fbec696..6a2bffb 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -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);