mirror of
https://github.com/vercel/next-learn.git
synced 2026-06-11 09:51:47 +00:00
Fix: Typo in comment (#544)
* Fix: Typo in comment Added missing word 'to'. * Update comment in final-example --------- Co-authored-by: Delba de Oliveira <delbabrown@gmail.com>
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user