From 1de3277f0e16398d4f099bdf6a00eab8420c6c78 Mon Sep 17 00:00:00 2001 From: Onyewuchi Emeka Date: Wed, 28 Aug 2024 22:14:33 +0100 Subject: [PATCH] fixed PR review changes --- .../program-state-management.md | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/content/courses/native-onchain-development/program-state-management.md b/content/courses/native-onchain-development/program-state-management.md index ac93df4b9..f8d77a9b1 100644 --- a/content/courses/native-onchain-development/program-state-management.md +++ b/content/courses/native-onchain-development/program-state-management.md @@ -554,16 +554,19 @@ We're ready to build and deploy our program! You can test your program by submitting a transaction with the right instruction data. For that, feel free to use [this script](https://github.com/Unboxed-Software/solana-movie-client) or -[the frontend](https://github.com/EmekaManuel/movie-review-dapp) we built in the +[the frontend](https://github.com/solana-developers/movie-review-frontend) we +built in the [Deserialize Custom Instruction Data lesson](/content/courses/native-onchain-development/deserialize-custom-data-frontend.md). In both cases, make sure you copy and paste the program ID for your program into the appropriate area of the source code to make sure you're testing the right program. -If you use the frontend, simply replace the `MOVIE_REVIEW_PROGRAM_ID` in both -the `MovieList.tsx` and `Form.tsx` components with the address of the program -you’ve deployed. Then run the frontend, submit a view, and refresh the browser -to see the review. +If you're using the script, simply replace the value assigned to movieProgramId +in the index.ts component with the public key of the program you've deployed. + +If you use the frontend, simply replace the `MOVIE_REVIEW_PROGRAM_ID` in the +`review-form.tsx` components with the address of the program you’ve deployed. +Then run the frontend, submit a view, and refresh the browser to see the review. If you need more time with this project to feel comfortable with these concepts, have a look at the