Linking wallet to existing account in React

Hi, I am trying to link username/password login to a wallet in react but can’t find anything in the react docs. Could someone explain how this can be done in react.


usually if that’s the case you would connect the wallet first then you can set username/password after

not sure if it’s your ideal use case, but I know this flow could work.