Skip to content

Commit

Permalink
Add no store to fetchInvoiceById
Browse files Browse the repository at this point in the history
  • Loading branch information
delbaoliveira committed Oct 30, 2023
1 parent 8e047a9 commit 55500e1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dashboard/final-example/app/lib/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ export async function fetchInvoicesPages(query: string) {
}

export async function fetchInvoiceById(id: string) {
noStore();
try {
const data = await sql<InvoiceForm>`
SELECT
Expand Down

0 comments on commit 55500e1

Please sign in to comment.