fix: add dependencies array to useEffect so that it doesn't run on every render
This commit is contained in:
@@ -168,7 +168,7 @@ const PasscodeLock = observer(({
|
||||
return () => {
|
||||
removeKeyStatusChangedObserver();
|
||||
};
|
||||
});
|
||||
}, [application]);
|
||||
|
||||
return (
|
||||
<div className="sk-panel-section">
|
||||
|
||||
Reference in New Issue
Block a user