Projekt

Obecné

Profil

« Předchozí | Další » 

Revize e5bc2de2

Přidáno uživatelem Dominik Poch před více než 2 roky(ů)

Added todos for login form events

To test the functionality, login form values are logged to the console when the form is submitted. That is dangerous, so I added todos that will remind us to delete these logs when authentication is implemented.

Zobrazit rozdíly:

webapp/pages/authentication/login.tsx
5 5

  
6 6
function Login() {
7 7
    const onFinish = (values: any) => {
8
        /**
9
         @todo: delete login form log when login API is implemented
10
        **/
8 11
        console.log('Values of the login form: ', values);
9 12
    };
10 13

  
11 14
    const onFinishFailed = (errorInfo: any) => {
15
        /**
16
         @todo: delete log when error handling is implemented
17
        **/
12 18
        console.log('Errors: ', errorInfo);
13 19
    };
14 20

  

Také k dispozici: Unified diff