feat: add basic relay management in rust

This commit is contained in:
reya
2024-05-11 12:28:07 +07:00
parent b46a5cf68f
commit 73f80f27fb
16 changed files with 440 additions and 168 deletions

View File

@@ -28,7 +28,7 @@ function Screen() {
try {
setLoading(true);
const profile = { ...data };
const profile = { ...data, picture };
await ark.create_profile(profile);
setLoading(false);
@@ -44,7 +44,7 @@ function Screen() {
<div className="relative size-24 rounded-full bg-gradient-to-tr from-orange-100 via-red-50 to-blue-200">
{profile.picture ? (
<img
src={profile.picture}
src={picture || profile.picture}
alt="avatar"
loading="lazy"
decoding="async"