We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 724bf4b commit bd89b92Copy full SHA for bd89b92
1 file changed
src/pages/PostDetail.jsx
@@ -1,4 +1,4 @@
1
-```javascript
+
2
import React, { useEffect, useState } from 'react'
3
import { useParams, Link, useNavigate } from 'react-router-dom'
4
import { useContent } from '../context/ContentContext'
@@ -66,7 +66,7 @@ const PostDetail = () => {
66
67
if (!post) return <div className="min-h-screen flex items-center justify-center text-slate-400">Loading...</div>
68
69
- const readTimeDisplay = post.readTime || `${ Math.ceil((post.content_markdown?.length || 0) / 1000) + 1 } min read`
+ const readTimeDisplay = post.readTime || `${Math.ceil((post.content_markdown?.length || 0) / 1000) + 1} min read`
70
71
return (
72
<div className="min-h-screen bg-slate-950 pt-24 pb-20">
0 commit comments