Help with react firebase redux project

<%= @topic_view.topic.title %>
<%= @topic_view.topic.average_rating %> <%= @topic_view.topic.posts.count { |p| !!p.custom_fields['rating'] } %>

Hi, i am currently working on a note taking web app project and the following packages are used in the project.

Packages:
firebase, react, redux, react-redux, react-redux-firebase, redux-firestore, redux-thunk

I am following this tutorial

I am using firstoreConnect higher order comoponent from react-redux-firebase package to fetch the user collection data in a component. The problem is that user collection data is not empty but somehow it returns null.

Link to the project

Link to the component that has a bug and i need help with