The social is an empty object in my state and is empty a method checks for whether the object is object or not to display a social info when i run the code it gives me can't read a property twitter of undefined

Please don’t post s blob of text as title, it is much more effective if you create a few phrases to explain.
Plus it is impossible to debug from a screenshot, so please post your code in a post or provide a link to something like codepen or or github (etc) with your code in it