<%=
  react_component(
    'Post',
    {
      postId: @post.id,
      boards: @boards,
      postStatuses: @post_statuses,
      isLoggedIn: user_signed_in?,
      isPowerUser: user_signed_in? ? current_user.power_user? : false,
      userEmail: user_signed_in? ? current_user.email : nil,
      authenticityToken: form_authenticity_token,
    }
  )
%>