(copy: ButtonCopy)
| 36 | const { logEvent } = useLogContext(); |
| 37 | const { showLogin } = useAuthContext(); |
| 38 | const onClick = (copy: ButtonCopy) => { |
| 39 | logEvent(getLogEvent(copy)); |
| 40 | showLogin({ |
| 41 | trigger: AuthTriggers.MainButton, |
| 42 | options: { |
| 43 | isLogin: copy === ButtonCopy.Login, |
| 44 | }, |
| 45 | }); |
| 46 | }; |
| 47 | |
| 48 | return ( |
| 49 | <span className={classNames('flex flex-row', className?.container)}> |
no test coverage detected