so u getting error when is data.stream === null, that game prop cannot be accessed in object that is null
On other side object that u want to refer is not null, it is undefined
so u may write like this: