(
event: React.MouseEvent<HTMLAnchorElement>,
flow: 'signin' | 'signup'
)
| 23 | api, |
| 24 | }: Props) { |
| 25 | const showModal = async ( |
| 26 | event: React.MouseEvent<HTMLAnchorElement>, |
| 27 | flow: 'signin' | 'signup' |
| 28 | ) => { |
| 29 | event.preventDefault(); |
| 30 | event.stopPropagation(); |
| 31 | startSignUp?.({ |
| 32 | flow, |
| 33 | communityId: accountId, |
| 34 | }); |
| 35 | }; |
| 36 | |
| 37 | async function joinCommunity( |
| 38 | event: React.MouseEvent<HTMLAnchorElement, MouseEvent> |
no test coverage detected