Commit f5a17394 authored by Steven's avatar Steven

chore: update memo detail checks

parent a297cc31
......@@ -62,11 +62,11 @@ const MemoDetail = () => {
// Prepare memo comments.
useEffect(() => {
(async () => {
if (!memo) {
return;
}
(async () => {
if (memo.parentId) {
memoStore.getOrFetchMemoById(memo.parentId).then((memo: Memo) => {
setParentMemo(memo);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment