Skip to content

Commit

Permalink
Fix TS error
Browse files Browse the repository at this point in the history
  • Loading branch information
osamasayed committed Mar 27, 2024
1 parent 942f9c0 commit 635cfee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Verses/RecentReadingSessions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const RecentReadingSessions = () => {
);
}

if (recentlyReadVerseKeys.length === 0) return t('home:no-recently-read');
if (recentlyReadVerseKeys.length === 0) return <>{t('home:no-recently-read')}</>;

return (
<div className={styles.sessionsContainer} id="reading-sessions">
Expand Down
1 change: 0 additions & 1 deletion src/pages/profile.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import withAuth from '@/components/Auth/withAuth';
import NextSeoWrapper from '@/components/NextSeoWrapper';
import DeleteAccountButton from '@/components/Profile/DeleteAccountButton';
import BookmarksAndCollectionsSection from '@/components/Verses/BookmarksAndCollectionsSection';
import RecentReadingSessions from '@/components/Verses/RecentReadingSessions';
import Button from '@/dls/Button/Button';
import Skeleton from '@/dls/Skeleton/Skeleton';
import useCurrentUser from '@/hooks/auth/useCurrentUser';
Expand Down

0 comments on commit 635cfee

Please sign in to comment.