feat: add PopularTags and TopFriends components, update profile and feed layouts to include them
This commit is contained in:
@@ -154,4 +154,11 @@ export const unfollowUser = (username: string, token: string) =>
|
||||
);
|
||||
|
||||
export const getMe = (token: string) =>
|
||||
apiFetch("/users/me", {}, MeSchema, token);
|
||||
apiFetch("/users/me", {}, MeSchema, token);
|
||||
|
||||
export const getPopularTags = () =>
|
||||
apiFetch(
|
||||
"/tags/popular",
|
||||
{},
|
||||
z.array(z.string()) // Expect an array of strings
|
||||
);
|
Reference in New Issue
Block a user