diff --git a/apps/shinkai-app/src/pages/Home.tsx b/apps/shinkai-app/src/pages/Home.tsx index 804a0852d..11da30fc2 100644 --- a/apps/shinkai-app/src/pages/Home.tsx +++ b/apps/shinkai-app/src/pages/Home.tsx @@ -66,31 +66,42 @@ const MessageButton = ({ inbox }: { inbox: SmartInbox }) => { if (isEditable) { return (
( -
- Enter Shinkai Identity +
+ Rename inbox name + onIonInput={(e) => updateInboxNameForm.setValue( 'inboxName', e.detail.value as string ) } - placeholder="@@name.shinkai or @@name.shinkai/profile" + placeholder={decodeURIComponent(inbox.custom_name)} value={field.value} />
)} /> - + {inboxNameValue ? ( + + ) : ( + + )} ); } @@ -114,7 +125,7 @@ const MessageButton = ({ inbox }: { inbox: SmartInbox }) => { url={`https://ui-avatars.com/api/?name=${inbox.custom_name}&background=FE6162&color=fff`} /> - {JSON.stringify(inbox.custom_name)} + {decodeURIComponent(inbox.custom_name)}