mirror of https://github.com/usememos/memos.git
Review
This commit is contained in:
parent
fe7d5b0ade
commit
4bd85ac86d
|
|
@ -146,7 +146,7 @@ const MemoView: React.FC<Props> = observer((props: Props) => {
|
|||
console.error(error);
|
||||
toast.error(error?.details);
|
||||
}
|
||||
}, [isArchived, memo.name, t]);
|
||||
}, [isArchived, memo.name, t, memoStore, userStore]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!shortcutActive || readonly || showEditor || !cardRef.current) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue