You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-30 23:44:55 +02:00
Fixed webview issues
This commit is contained in:
@ -1,6 +1,10 @@
|
||||
// Use this to show which props have been changed within a component.
|
||||
//
|
||||
// Usage: usePropsDebugger(props);
|
||||
|
||||
import useEffectDebugger from './useEffectDebugger';
|
||||
|
||||
export default function usePropsDebugger(effectHook:any, props:any) {
|
||||
export default function usePropsDebugger(props:any) {
|
||||
const dependencies:any[] = [];
|
||||
const dependencyNames:string[] = [];
|
||||
|
||||
@ -9,5 +13,5 @@ export default function usePropsDebugger(effectHook:any, props:any) {
|
||||
dependencyNames.push(k);
|
||||
}
|
||||
|
||||
useEffectDebugger(effectHook, dependencies, dependencyNames);
|
||||
useEffectDebugger(() => {}, dependencies, dependencyNames);
|
||||
}
|
||||
|
Reference in New Issue
Block a user