()
| 119 | // eslint-disable-next-line react-hooks/exhaustive-deps |
| 120 | }, []); |
| 121 | const handleCancel = () => { |
| 122 | logEvent('tengu_remote_setup_result', { |
| 123 | result: 'cancelled' as SafeString |
| 124 | }); |
| 125 | onDone(); |
| 126 | }; |
| 127 | const handleConfirm = async (token: RedactedGithubToken) => { |
| 128 | setStep({ |
| 129 | name: 'uploading' |