@@ -21,8 +21,6 @@ import { alphaUsd } from './tokens'
2121
2222export { alphaUsd , betaUsd , pathUsd , thetaUsd } from './tokens'
2323
24- export const TEMPO_CONNECTOR_ID = 'xyz.tempo'
25-
2624export const FAKE_RECIPIENT = '0xbeefcafe54750903ac1c8909323af7beb21ea2cb'
2725export const FAKE_RECIPIENT_2 = '0xdeadbeef54750903ac1c8909323af7beb21ea2cb'
2826
@@ -112,14 +110,14 @@ export function Container(
112110
113111 if ( source === 'webAuthn' ) {
114112 const webAuthnConnection = connections . find (
115- ( c ) => c . connector . id === 'webAuthn' || c . connector . id === TEMPO_CONNECTOR_ID ,
113+ ( c ) => c . connector . id === 'webAuthn' || c . connector . id === 'xyz.tempo' ,
116114 )
117115 return webAuthnConnection ?. accounts [ 0 ]
118116 }
119117
120118 if ( source === 'wallet' ) {
121119 const walletConnection = connections . find (
122- ( c ) => c . connector . id !== 'webAuthn' && c . connector . id !== TEMPO_CONNECTOR_ID ,
120+ ( c ) => c . connector . id !== 'webAuthn' && c . connector . id !== 'xyz.tempo' ,
123121 )
124122 return walletConnection ?. accounts [ 0 ]
125123 }
@@ -371,32 +369,14 @@ export function Login() {
371369 Check prompt
372370 </ Button >
373371 ) : (
374- < div className = "flex gap-1" >
375- < Button
376- variant = "accent"
377- className = "font-normal text-[14px] -tracking-[2%]"
378- onClick = { ( ) => connect . connect ( { connector } ) }
379- type = "button"
380- >
381- Sign in
382- </ Button >
383- < Button
384- variant = "default"
385- className = "font-normal text-[14px] -tracking-[2%]"
386- onClick = { ( ) =>
387- connect . connect ( {
388- connector,
389- capabilities : {
390- name : 'Tempo Docs' ,
391- method : 'register' ,
392- } ,
393- } )
394- }
395- type = "button"
396- >
397- Sign up
398- </ Button >
399- </ div >
372+ < Button
373+ variant = "accent"
374+ className = "font-normal text-[14px] -tracking-[2%]"
375+ onClick = { ( ) => connect . connect ( { connector } ) }
376+ type = "button"
377+ >
378+ Sign in
379+ </ Button >
400380 ) }
401381 </ div >
402382 )
0 commit comments