chore: update control char typo
This commit is contained in:
parent
c2477e0ff5
commit
0b58123ede
|
@ -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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
@ -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>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue