diff --git a/packages/@justaname.id/react-signin/src/lib/modal/SelectSubnameDialog/index.tsx b/packages/@justaname.id/react-signin/src/lib/modal/SelectSubnameDialog/index.tsx index 1c78493a..6f33c67d 100644 --- a/packages/@justaname.id/react-signin/src/lib/modal/SelectSubnameDialog/index.tsx +++ b/packages/@justaname.id/react-signin/src/lib/modal/SelectSubnameDialog/index.tsx @@ -42,8 +42,8 @@ export interface SelectSubnameDialogProps { open: boolean; } -export const SelectSubnameDialog: React.FC = ({ subnames, handleOpenDialog, open }) => { - const { address} = useMountedAccount(); +export const SelectSubnameDialog: React.FC = ({ subnames, handleOpenDialog, open }) => { + const { address } = useMountedAccount(); const [username, setUsername] = React.useState(''); const [subnameSigningIn, setSubnameSigningIn] = React.useState(''); const { ensDomain } = useJustaName(); @@ -82,7 +82,7 @@ export const SelectSubnameDialog: React.FC = ({ subna }}> = ({ subna cursor: 'pointer' }} onClick={() => handleOpenDialog(false)} - /> + /> @@ -129,6 +129,11 @@ export const SelectSubnameDialog: React.FC = ({ subna { subnames.map((subname, index) => { @@ -139,7 +144,7 @@ export const SelectSubnameDialog: React.FC = ({ subna subname={subname} onClick={() => { setSubnameSigningIn(subname.subname); - signIn({ ens: subname.subname }).then(()=> handleOpenDialog(false)).finally(() => { + signIn({ ens: subname.subname }).then(() => handleOpenDialog(false)).finally(() => { setSubnameSigningIn(''); }); }} @@ -230,13 +235,13 @@ export const SelectSubnameDialog: React.FC = ({ subna }} > Powered by justaname.id + }} + href="https://justaname.id" target="_blank" rel="noreferrer">justaname.id