mirror of
https://github.com/laurent22/joplin.git
synced 2025-01-11 18:24:43 +02:00
Mobile: Plugins: Fix warning after reloading plugins (#10165)
This commit is contained in:
parent
180f52dab2
commit
57fc70cec1
@ -35,7 +35,7 @@ export default class PluginRunner extends BasePluginRunner {
|
||||
|
||||
const messageChannelId = `plugin-message-channel-${pluginId}-${Date.now()}`;
|
||||
const messenger = new RNToWebViewMessenger<PluginMainProcessApi, PluginWebViewApi>(
|
||||
messageChannelId, this.webviewRef.current, { api: pluginApi, onError, onLog },
|
||||
messageChannelId, this.webviewRef, { api: pluginApi, onError, onLog },
|
||||
);
|
||||
|
||||
this.messageEventListeners.push((event) => {
|
||||
|
Loading…
Reference in New Issue
Block a user