One button that follows the wallet session: a connect trigger with no session, the account
popover with one, read from useParty rather than a prop so nothing can contradict a connect
already in flight. A <CantonConnectProvider> above it is required, alone among the components
here. mode pins it to one face, which renders nothing rather than the other one; children
replace the whole label, the pending copy included, so word that off useConnect().isConnecting.
Imported from /connect, the sub-path that pulls the Canton SDK into a consumer's graph.
One button that follows the wallet session: a connect trigger with no session, the account popover with one, read from
usePartyrather than a prop so nothing can contradict a connect already in flight. A<CantonConnectProvider>above it is required, alone among the components here.modepins it to one face, which renders nothing rather than the other one;childrenreplace the whole label, the pending copy included, so word that offuseConnect().isConnecting. Imported from/connect, the sub-path that pulls the Canton SDK into a consumer's graph.