+
{
+ if (!ev.target.files?.length) return;
+ setBusy(true);
+ const file = ev.target.files[0];
+ const uri = await cli.uploadContent(file);
+ await cli.setAvatarUrl(uri);
+ setBusy(false);
+ }}
+ accept="image/*"
+ />
+
+
{
+ uploadRef.current.click();
+ }}
+ >
+
+
+
+ {state => (
+
+ )}
+
+
+
+
{ _t("Welcome %(name)s", { name: ownProfile.displayName }) }
+
{ _t("Now, lets help you get started") }
+
;
+};
+
+const HomePage: React.FC