For some reason I am not able to pass a rant_data object to the creation of the NSFW modal. I need to pass rant_data so I can determine what kind of action should be taken if the user clicks the proceed button. As a result, I have to pass the rant ID and ping the back end an extra time to get the rant data. It's inefficient. Figure out why the passing of an object fails and how to get around it.
For some reason I am not able to pass a rant_data object to the creation of the NSFW modal. I need to pass rant_data so I can determine what kind of action should be taken if the user clicks the proceed button. As a result, I have to pass the rant ID and ping the back end an extra time to get the rant data. It's inefficient. Figure out why the passing of an object fails and how to get around it.