From 5e2b9fb10a95a639c779cc3b6658bb8ab5603ccf Mon Sep 17 00:00:00 2001 From: mehdi Date: Wed, 28 Feb 2024 14:26:41 +0100 Subject: [PATCH] fix: consistent variable path in react generator #376 --- templates/react/routes/foo.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/react/routes/foo.tsx b/templates/react/routes/foo.tsx index 412d313f..2bc72b3e 100644 --- a/templates/react/routes/foo.tsx +++ b/templates/react/routes/foo.tsx @@ -2,11 +2,11 @@ import { Route } from "react-router-dom"; import { List, Create, Update, Show } from "../components/{{{lc}}}/"; const routes = [ - } key="create" />, - } key="update" />, - } key="show" />, - } key="list" />, - } key="page" />, + } key="create" />, + } key="update" />, + } key="show" />, + } key="list" />, + } key="page" />, ]; export default routes;