Skip to content

Commit 2617f7e

Browse files
dimaMachinabenface
andauthored
Update packages/nextra-theme/src/index.tsx
Co-authored-by: Benoît Rouleau <[email protected]>
1 parent a8a962d commit 2617f7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/nextra-theme/src/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const MDXWrapper: NextraMDXContent = ({ children, toc }) => {
8080
},
8181
}}
8282
/>
83-
{!!readingTime?.minutes && (
83+
{Boolean(readingTime?.minutes) && (
8484
<span>
8585
<span sx={{ color: 'White64' }}>Reading time:</span> {Math.ceil(readingTime.minutes)} min
8686
</span>

0 commit comments

Comments
 (0)