Retrieving value from useState hook
…