Skip to content

Commit c3e896a

Browse files
committed
fix: accounted for optional use of onPluginContextUpdated callback
1 parent f995bef commit c3e896a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plugins.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default {
5151
})
5252

5353
// provide initial update
54-
plugin.__onPluginContextUpdated(pluginContext)
54+
plugin.__onPluginContextUpdated?.(pluginContext)
5555
}
5656
},
5757

0 commit comments

Comments
 (0)