That is not Pelosi's purpose for vising Taiwan. China got all riled up for nothing. Biden stated very clearly to Xi during their conference. The visit changes nothing of the US' official recognition of Taiwan's status which is the status quo. Pelosi's visit is to reiterate US' support for the continuation of its democracy not regarding its sovereignty issue, that's why no tiny Taiwan flags fr. If China leaves Taiwan alone, US will continue to leave it to be as the status quo but if it wants to try something funny like what Russia is doing with Ukraine then the US WILL get involved and will be involved even more; this is the message that Pelosi's visit is conveying.
So if China is not intending to do something with Taiwan like what it hasn't done for the last 73 years, then it has nothing to get uppity about. Nothing is changed.