Oura interview question

I was asked to review a frontend code