Skip to content

Commit 049b800

Browse files
committed
Fix grammar and format code
1 parent 4d4af40 commit 049b800

File tree

1 file changed

+13
-9
lines changed

1 file changed

+13
-9
lines changed

src/main.ts

Lines changed: 13 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,23 @@ createApp({ render: () => h(App) })
99
.mount("#app");
1010
/* eslint-disable */
1111
store.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
1921
store.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 */

0 commit comments

Comments
 (0)