diff --git a/apps/renderer/src/modules/ai/ai-daily/FeedDailyModalContent.tsx b/apps/renderer/src/modules/ai/ai-daily/FeedDailyModalContent.tsx index b509d1dfdd..be6ceab0b8 100644 --- a/apps/renderer/src/modules/ai/ai-daily/FeedDailyModalContent.tsx +++ b/apps/renderer/src/modules/ai/ai-daily/FeedDailyModalContent.tsx @@ -21,7 +21,7 @@ export const FeedDailyModalContent = () => { ))} -
+
{tabs.map((tab: any) => ( = ({ view, }) => { const content = useQueryData({ endDate, startDate, view }) - - const RelatedEntryLink = useState(() => createRelatedEntryLink("toast"))[0] const { t } = useTranslation() + const RelatedEntryLink = useState(() => createRelatedEntryLink("toast"))[0] + if (!content.data && !content.isLoading) return ( -
+

{t("ai_daily.no_found")}

) + return (
{content.isLoading ? ( ) : content.data ? ( {content.data}