Skip to content

Commit 1b9af1a

Browse files
fix type
1 parent 8804236 commit 1b9af1a

File tree

1 file changed

+1
-1
lines changed
  • packages/devextreme-cli/src/templates/nextjs/application/src/app/auth/[type]

1 file changed

+1
-1
lines changed

packages/devextreme-cli/src/templates/nextjs/application/src/app/auth/[type]/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const formText = {
1717
}
1818
}
1919

20-
function AuthForm({name}<%=#isTypeScript%>: Record<string, any><%=/isTypeScript%>) {
20+
function AuthForm({name}<%=#isTypeScript%>: {name: string}<%=/isTypeScript%>) {
2121
switch (name) {
2222
case 'login': return <LoginForm />;
2323
case 'create-account': return <CreateAccountForm />;

0 commit comments

Comments
 (0)