We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48546f0 commit 0657a1eCopy full SHA for 0657a1e
web/src/components/MemoEditor/index.tsx
@@ -349,6 +349,7 @@ const MemoEditor = (props: Props) => {
349
toast.error(error.details);
350
}
351
352
+ localStorage.removeItem(contentCacheKey);
353
setState((state) => {
354
return {
355
...state,
web/src/pages/MemoDetail.tsx
@@ -66,6 +66,7 @@ const MemoDetail = () => {
66
placeholder: t("editor.add-your-comment-here"),
67
parentMemoName: memo.name,
68
onConfirm: handleCommentCreated,
69
+ cacheKey: `${memo.name}-${memo.updateTime}-comment`,
70
});
71
};
72
0 commit comments