1

I have a simple inbox page that opens user messages. The trouble is that when a user clicks a message from the inbox from the inbox page...nothing happens. I understand why this is the case for push but for replace it seems like a bug.

Attempting as so:

this.props.history.replace({
              pathname: "/inbox",
              state: { chatID: targetID }
            });

0 Answers0