V4 - How can I solve "cannot read properties of undefined"?

I think when you do the findOne, it returns the object like this. Check that top level data key

{
  "data": { //<--- here
    "id": 1,
    "attributes": {
      "title": "Restaurant A",
      "description": "Restaurant A's description"
    },
    "meta": {
      "availableLocales": []
    }
  },
  "meta": {}
}