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