@@ -25,7 +25,7 @@
profileSrc="https://picsum.photos/200/300"
>
-
{username}
+
{handle}
{userEmail}
diff --git a/platforms/pictique/src/lib/fragments/UserRequest/UserRequest.svelte b/platforms/pictique/src/lib/fragments/UserRequest/UserRequest.svelte
index 025f5dbb..16edd62a 100644
--- a/platforms/pictique/src/lib/fragments/UserRequest/UserRequest.svelte
+++ b/platforms/pictique/src/lib/fragments/UserRequest/UserRequest.svelte
@@ -5,12 +5,12 @@
interface IUserRequestprops extends HTMLAttributes
{
userImgSrc: string;
- userName: string;
+ handle: string;
description: string;
handleFollow: () => Promise;
}
- let { userImgSrc, userName, description, ...restProps }: IUserRequestprops = $props();
+ let { userImgSrc, handle, description, ...restProps }: IUserRequestprops = $props();
-
{userName}
+
{handle}
{description}
@@ -32,7 +32,7 @@
@description A user request card component displaying avatar, name, description, and a follow button.
@props
- userImgSrc: URL string for the user's avatar image.
- - userName: Display name of the user.
+ - handle: Display name of the user.
- description: A short description or context for the request.
- handleFollow: Async function to execute when the "Follow" button is clicked.
- (spread) HTMLAttributes