Skip to content

Commit

Permalink
Fix: Typo in comment (#544)
Browse files Browse the repository at this point in the history
* Fix: Typo in comment

Added missing word 'to'.

* Update comment in final-example

---------

Co-authored-by: Delba de Oliveira <[email protected]>
  • Loading branch information
xkra and delbaoliveira authored Jan 8, 2024
1 parent e75f714 commit 646898b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dashboard/final-example/app/lib/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion dashboard/starter-example/app/lib/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

1 comment on commit 646898b

@vercel
Copy link

@vercel vercel bot commented on 646898b Jan 8, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

next-learn-dashboard – ./dashboard/final-example

next-learn-dashboard-git-main.vercel.sh
next-learn-dashboard.vercel.sh

Please sign in to comment.