You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Perhaps I'm incorrect about this, but I'm pretty sure that this should be of type number instead of string because later in the component page is used to derive the currentPage value. And according to the currentPage prop in the Table component, it's a number:
next-learn/dashboard/final-example/app/dashboard/invoices/page.tsx
Line 20 in 58f9a68
Perhaps I'm incorrect about this, but I'm pretty sure that this should be of type
number
instead ofstring
because later in the componentpage
is used to derive thecurrentPage
value. And according to thecurrentPage
prop in theTable
component, it's anumber
:https://github.com/vercel/next-learn/blob/main/dashboard/final-example/app/ui/invoices/table.tsx#L12
VSCode calls out this problem as well:
The text was updated successfully, but these errors were encountered: