Skip to content

Commit 4b2016f

Browse files
committed
fix: correct TS issues
1 parent 090030d commit 4b2016f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

packages/api-main/src/types/follows.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,7 @@ export const followingSchema = Type.Object({
1111
address: followSchema.properties.following,
1212
hash: followSchema.properties.hash,
1313
});
14-
export type Following = Static<typeof followingSchema>;
14+
export type Following = Static<typeof followingSchema> & {
15+
display?: string;
16+
handle?: string;
17+
};

packages/frontend-main/src/components/users/UserAvatarUsername.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Username from './Username.vue';
66
77
export interface UserAvatarUsernameProps {
88
userAddress?: string;
9-
userHandle?: string;
9+
userHandle?: string | null;
1010
size?: 'lg' | 'md' | 'sm';
1111
disabled?: boolean;
1212
}

0 commit comments

Comments
 (0)