1
0
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:
Henry Heino 2024-03-21 03:50:32 -07:00 committed by GitHub
parent 180f52dab2
commit 57fc70cec1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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) => {