How can i apply yarn dialogue sample to my own game

I tried using a yarn dialog sample and applying it to my own but every time I click the next button it only shows the first letter of dialogue instead of the whole dialogue. Please help


Here’s the preview