You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-16 00:14:34 +02:00
Chore: Mobile: Update mobile components for compatibility with React Native 0.79 (#12154)
This commit is contained in:
@ -9,7 +9,7 @@ import usePlugin from '@joplin/lib/hooks/usePlugin';
|
||||
const usePluginItem = (id: string, pluginSettings: PluginSettings, initialItem: PluginItem|null): PluginItem => {
|
||||
const plugin = usePlugin(id);
|
||||
|
||||
const lastManifest = useRef<PluginManifest>();
|
||||
const lastManifest = useRef<PluginManifest|null>(null);
|
||||
if (plugin) {
|
||||
lastManifest.current = plugin.manifest;
|
||||
} else if (!lastManifest.current) {
|
||||
|
Reference in New Issue
Block a user