MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / showModal

Function showModal

apps/web/ui/JoinButton/JoinLinen/index.tsx:25–35  ·  view source on GitHub ↗
(
    event: React.MouseEvent<HTMLAnchorElement>,
    flow: 'signin' | 'signup'
  )

Source from the content-addressed store, hash-verified

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>

Callers 1

JoinLinenFunction · 0.70

Calls 1

startSignUpFunction · 0.85

Tested by

no test coverage detected