Skip to content

Commit c6e758a

Browse files
committed
remove types for login params
1 parent 51dc2e4 commit c6e758a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/Tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -883,7 +883,7 @@ import { AuthProvider } from "react-admin";
883883

884884
export const authProvider: AuthProvider = {
885885
// called when the user attempts to log in
886-
login: ({ username }: { username: string }) => {
886+
login: ({ username }) => {
887887
localStorage.setItem("username", username);
888888
// accept all username/password combinations
889889
return Promise.resolve();

0 commit comments

Comments
 (0)