chore: update control char typo

This commit is contained in:
Julien Oculi 2024-06-06 16:38:52 +02:00
parent c2477e0ff5
commit 0b58123ede
2 changed files with 3 additions and 3 deletions

View file

@ -2,9 +2,9 @@ import { PageProps } from '$fresh/server.ts'
import { BlogCard, blogMock } from '../../components/BlogCard.tsx' import { BlogCard, blogMock } from '../../components/BlogCard.tsx'
export default function Projet({ params }: PageProps) { export default function Projet({ params }: PageProps) {
const article = blogMock.at(Number(params.id)) const article = blogMock.at(Number(params.id))
return ( return (
article ? BlogCard(article) : <h3>Article inconnu</h3> article ? BlogCard(article) : <h3>Article inconnu</h3>
) )
} }

View file

@ -5,6 +5,6 @@ export default function Machine({ params }: PageProps) {
const machine = machineMock.at(Number(params.id)) const machine = machineMock.at(Number(params.id))
return ( return (
machine ? MachineCard(machine) : <h3>Machine pas encore disponible</h3> machine ? MachineCard(machine) : <h3>Machine pas encore disponible</h3>
) )
} }