Skip to content

Commit 3d31555

Browse files
Update data.ts (#408)
* Update data.ts Just a typo for 'Failed to fetch card data.' * Update wording in final-example --------- Co-authored-by: Delba de Oliveira <[email protected]> Co-authored-by: Delba de Oliveira <[email protected]>
1 parent 53f7541 commit 3d31555

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dashboard/final-example/app/lib/data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export async function fetchCardData() {
8686
};
8787
} catch (error) {
8888
console.error('Database Error:', error);
89-
throw new Error('Failed to card data.');
89+
throw new Error('Failed to fetch card data.');
9090
}
9191
}
9292

dashboard/starter-example/app/lib/data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export async function fetchCardData() {
8383
};
8484
} catch (error) {
8585
console.error('Database Error:', error);
86-
throw new Error('Failed to card data.');
86+
throw new Error('Failed to fetch card data.');
8787
}
8888
}
8989

0 commit comments

Comments
 (0)