Skip to content

Commit 9da94cb

Browse files
authored
fix: update demo form route paths for address and simple forms (#56)
Ran the addons and found out the links were not right, so fixed them :-)
1 parent fa4e047 commit 9da94cb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

templates/react/add-on/form/assets/src/routes/demo.form.address.tsx.ejs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ function AddressForm() {
203203

204204
<% if (codeRouter) { %>
205205
export default (parentRoute: RootRoute) => createRoute({
206-
path: '/demo/form',
207-
component: Addres,
206+
path: '/demo/form/address',
207+
component: AddressForm,
208208
getParentRoute: () => parentRoute,
209209
})
210210
<% } %>

templates/react/add-on/form/assets/src/routes/demo.form.simple.tsx.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ function SimpleForm() {
7070

7171
<% if (codeRouter) { %>
7272
export default (parentRoute: RootRoute) => createRoute({
73-
path: '/demo/form',
73+
path: '/demo/form/simple',
7474
component: SimpleForm,
7575
getParentRoute: () => parentRoute,
7676
})

0 commit comments

Comments
 (0)