chore: update memo detail checks

pull/2716/head
Steven 2 years ago
parent a297cc3140
commit f5a1739472

@ -62,11 +62,11 @@ const MemoDetail = () => {
// Prepare memo comments. // Prepare memo comments.
useEffect(() => { useEffect(() => {
(async () => { if (!memo) {
if (!memo) { return;
return; }
}
(async () => {
if (memo.parentId) { if (memo.parentId) {
memoStore.getOrFetchMemoById(memo.parentId).then((memo: Memo) => { memoStore.getOrFetchMemoById(memo.parentId).then((memo: Memo) => {
setParentMemo(memo); setParentMemo(memo);

Loading…
Cancel
Save