Some change

This commit is contained in:
2025-05-17 22:17:31 +02:00
parent bdc073f5d7
commit 35b34ab5aa
10 changed files with 819 additions and 454 deletions
+2
View File
@@ -3,6 +3,8 @@ import { useParams, Link } from 'react-router-dom';
import { blogPostsData } from '../data/blogPostsData';
import { NotFound } from './NotFound';
import './BlogPost.module.css';
export const BlogPost = () => {
const { slug } = useParams<{ slug: string }>();
const [post, setPost] = useState(blogPostsData.find(post => post.slug === slug));