|
|
|
@ -55,6 +55,7 @@ const UserProfile = () => {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
nextPageTokenRef.current = undefined;
|
|
|
|
|
memoList.reset();
|
|
|
|
|
fetchMemos();
|
|
|
|
|
}, [user, tagQuery, textQuery]);
|
|
|
|
|
|
|
|
|
@ -109,8 +110,9 @@ const UserProfile = () => {
|
|
|
|
|
<MemoView key={`${memo.id}-${memo.displayTime}`} memo={memo} showVisibility showPinned />
|
|
|
|
|
))}
|
|
|
|
|
{isRequesting ? (
|
|
|
|
|
<div className="flex flex-col justify-start items-center w-full my-4">
|
|
|
|
|
<p className="text-sm text-gray-400 italic">{t("memo.fetching-data")}</p>
|
|
|
|
|
<div className="flex flex-row justify-center items-center w-full my-4 text-gray-400">
|
|
|
|
|
<Icon.Loader className="w-4 h-auto animate-spin mr-1" />
|
|
|
|
|
<p className="text-sm italic">{t("memo.fetching-data")}</p>
|
|
|
|
|
</div>
|
|
|
|
|
) : !nextPageTokenRef.current ? (
|
|
|
|
|
sortedMemos.length === 0 && (
|
|
|
|
|