Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: update memo detail checks

Stevenf5a17394726f
diff --git a/web/src/pages/MemoDetail.tsx b/web/src/pages/MemoDetail.tsx
index 13925ee20..3d26efd5e 100644
--- a/web/src/pages/MemoDetail.tsx
+++ b/web/src/pages/MemoDetail.tsx
@@ -62,11 +62,11 @@ const MemoDetail = () => {
// Prepare memo comments.
useEffect(() => {
- (async () => {
- if (!memo) {
- return;
- }
+ if (!memo) {
+ return;
+ }
+ (async () => {
if (memo.parentId) {
memoStore.getOrFetchMemoById(memo.parentId).then((memo: Memo) => {
setParentMemo(memo);