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) })
99 . mount ( "#app" ) ;
1010/* eslint-disable */
1111store . dispatch ( "loadUser" ) . then (
12- ( success ) => { //if user data is loaded successfully
12+ ( success ) => {
13+ //if the user data is loaded successfully
1314 console . log ( "User data loaded successfully!" ) ;
1415 } ,
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)
1618 console . log ( "User data failed to load." ) ;
17- }
18- ) ; //load user data
19+ } ,
20+ ) ; //load the user data
1921store . dispatch ( "loadTasks" ) . then (
20- ( success ) => { //if task list data is loaded successfully
22+ ( success ) => {
23+ //if the task list data is loaded successfully
2124 console . log ( "Task list data loaded successfully!" ) ;
2225 } ,
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)
2428 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