tweaking the react page to show the code