fix: Use String(id) instead of Number(id) for charging station ID
This commit is contained in:
@@ -10,5 +10,5 @@ type PageProps = {
|
|||||||
|
|
||||||
export default async function ShowChargingStationPage({ params }: PageProps) {
|
export default async function ShowChargingStationPage({ params }: PageProps) {
|
||||||
const { id } = await params;
|
const { id } = await params;
|
||||||
return <ChargingStationDetail params={{ id: Number(id) }} />;
|
return <ChargingStationDetail params={{ id: String(id)} />;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user