mirror of
https://github.com/vercel/next-learn.git
synced 2026-06-11 09:51:47 +00:00
Papercuts (#472)
This commit is contained in:
committed by
GitHub
parent
9d8df63d7e
commit
10684e2468
@@ -24,7 +24,7 @@ export async function fetchRevenue() {
|
||||
|
||||
const data = await sql<Revenue>`SELECT * FROM revenue`;
|
||||
|
||||
// console.log('Data fetch complete after 3 seconds.');
|
||||
// console.log('Data fetch completed after 3 seconds.');
|
||||
|
||||
return data.rows;
|
||||
} catch (error) {
|
||||
|
||||
@@ -23,7 +23,7 @@ export async function fetchRevenue() {
|
||||
|
||||
const data = await sql<Revenue>`SELECT * FROM revenue`;
|
||||
|
||||
// console.log('Data fetch complete after 3 seconds.');
|
||||
// console.log('Data fetch completed after 3 seconds.');
|
||||
|
||||
return data.rows;
|
||||
} catch (error) {
|
||||
|
||||
@@ -31,6 +31,7 @@ export default async function InvoicesTable({
|
||||
className="mr-2 rounded-full"
|
||||
width={28}
|
||||
height={28}
|
||||
alt={`${invoice.name}'s profile picture`}
|
||||
/>
|
||||
<p>{invoice.name}</p>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user