Skip to content

Commit

Permalink
chore(app): remove deprecation warning (#961)
Browse files Browse the repository at this point in the history
This change updates the options being passed to Scalprum to remove a
deprecation warning that was being printed to the browser console.

Signed-off-by: Stan Lewis <[email protected]>
  • Loading branch information
gashcrumb authored Feb 12, 2024
1 parent 4589fb8 commit 0976f81
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/twenty-falcons-work.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'app': patch
---

Update from using a deprecated Scalprum API to remove a console warning message
2 changes: 1 addition & 1 deletion packages/app/src/components/DynamicRoot/DynamicRoot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ const ScalprumRoot = ({
config={value?.scalprumConfig ?? {}}
pluginSDKOptions={{
pluginLoaderOptions: {
postProcessManifest: manifest => {
transformPluginManifest: manifest => {
return {
...manifest,
loadScripts: manifest.loadScripts.map(
Expand Down

0 comments on commit 0976f81

Please sign in to comment.