-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chapter 7: fetching data from latest invoice #777
Comments
I am not getting this result. I would suggest double checking the data.ts scripts or maybe something is not being passed correctly to the I only followed the steps provided in Chapter 7. If the code changes don't fix it, you could also try re-seeding your database. |
I copied the new placeholder-data.tsx, data.ts .I tried re-seeding. Still getting the same issue. @CutlerRU if you can share your files for me to use that instead. |
@Kofiastro @Khodijah99 DROP TABLE USERS, CUSTOMERS, INVOICES, REVENUE And re-seed by running npm run seed or pnpm seed Hope it solves the problem. |
After fetching data from latest invoice section it loops through one particular name of customer 5 times without generating 5 different names of customers with different description.
![Screenshot 2024-06-30 at 15 31 06](https://cdn.statically.io/img/private-user-images.githubusercontent.com/29730265/344476670-df88d2c1-dd31-4b49-96e2-403aee0834fa.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjA3MzQ0NjIsIm5iZiI6MTcyMDczNDE2MiwicGF0aCI6Ii8yOTczMDI2NS8zNDQ0NzY2NzAtZGY4OGQyYzEtZGQzMS00YjQ5LTk2ZTItNDAzYWVlMDgzNGZhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzExVDIxNDI0MlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNmNDAxOGNlZjM0ODYyYmNhMzllMWZiZTQ1ZDdhNjU5NzI5MjY2MTcwZDMyN2ZhZDY2ODAzY2QxYmMyNDJhZmUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.txbXXWoETGK0-FPXxrvLpSmOpWLcqiU01yEJ6mormpA)
The text was updated successfully, but these errors were encountered: