File tree Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Expand file tree Collapse file tree 1 file changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -9,19 +9,23 @@ createApp({ render: () => h(App) })
9
9
. mount ( "#app" ) ;
10
10
/* eslint-disable */
11
11
store . dispatch ( "loadUser" ) . then (
12
- ( success ) => { //if user data is loaded successfully
12
+ ( success ) => {
13
+ //if the user data is loaded successfully
13
14
console . log ( "User data loaded successfully!" ) ;
14
15
} ,
15
- ( error ) => { //if user data is not loaded successfully (failed to load)
16
+ ( error ) => {
17
+ //if the user data is not loaded successfully (failed to load)
16
18
console . log ( "User data failed to load." ) ;
17
- }
18
- ) ; //load user data
19
+ } ,
20
+ ) ; //load the user data
19
21
store . dispatch ( "loadTasks" ) . then (
20
- ( success ) => { //if task list data is loaded successfully
22
+ ( success ) => {
23
+ //if the task list data is loaded successfully
21
24
console . log ( "Task list data loaded successfully!" ) ;
22
25
} ,
23
- ( error ) => { //if task list data is not loaded successfully (failed to load)
26
+ ( error ) => {
27
+ //if the task list data is not loaded successfully (failed to load)
24
28
console . log ( "Task list data failed to load." ) ;
25
- }
26
- ) ; //load task list data
27
- /* eslint-enable */
29
+ } ,
30
+ ) ; //load the task list data
31
+ /* eslint-enable */
You can’t perform that action at this time.
0 commit comments