Skip to content

Commit

Permalink
Merge branch 'main' into add-id-to-invoice-placeholder-data
Browse files Browse the repository at this point in the history
  • Loading branch information
delbaoliveira authored Jan 8, 2024
2 parents f8d2651 + 646898b commit ee07190
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

0 comments on commit ee07190

Please sign in to comment.