This commit is contained in:
Delba de Oliveira
2023-11-16 15:00:07 +00:00
committed by GitHub
parent fc5605ca55
commit 53f754109b
2 changed files with 4 additions and 4 deletions

View File

@@ -16,8 +16,8 @@ export async function fetchRevenue() {
// This is equivalent to in fetch(..., {cache: 'no-store'}).
noStore();
try {
// Artificially delay a reponse for demo purposes.
// Don't do this in real life :)
// Artificially delay a response for demo purposes.
// Don't do this in production :)
// console.log('Fetching revenue data...');
// await new Promise((resolve) => setTimeout(resolve, 3000));

View File

@@ -15,8 +15,8 @@ export async function fetchRevenue() {
// This is equivalent to in fetch(..., {cache: 'no-store'}).
try {
// Artificially delay a reponse for demo purposes.
// Don't do this in real life :)
// Artificially delay a response for demo purposes.
// Don't do this in production :)
// console.log('Fetching revenue data...');
// await new Promise((resolve) => setTimeout(resolve, 3000));