diff --git a/dashboard/final-example/app/lib/data.ts b/dashboard/final-example/app/lib/data.ts index 9fb3519..5ca645b 100644 --- a/dashboard/final-example/app/lib/data.ts +++ b/dashboard/final-example/app/lib/data.ts @@ -12,7 +12,7 @@ import { formatCurrency } from './utils'; import { unstable_noStore as noStore } from 'next/cache'; export async function fetchRevenue() { - // Add noStore() here prevent the response from being cached. + // Add noStore() here to prevent the response from being cached. // This is equivalent to in fetch(..., {cache: 'no-store'}). noStore(); try { diff --git a/dashboard/starter-example/app/lib/data.ts b/dashboard/starter-example/app/lib/data.ts index 4c699a3..3e32426 100644 --- a/dashboard/starter-example/app/lib/data.ts +++ b/dashboard/starter-example/app/lib/data.ts @@ -11,7 +11,7 @@ import { import { formatCurrency } from './utils'; export async function fetchRevenue() { - // Add noStore() here prevent the response from being cached. + // Add noStore() here to prevent the response from being cached. // This is equivalent to in fetch(..., {cache: 'no-store'}). try {