fix: add redirect to login for unauthorized access in FeedPage
All checks were successful
Build and Deploy Thoughts / build-and-deploy-local (push) Successful in 1m38s
All checks were successful
Build and Deploy Thoughts / build-and-deploy-local (push) Successful in 1m38s
This commit is contained in:
@@ -176,7 +176,6 @@ export const loginUser = (data: z.infer<typeof LoginSchema>) =>
|
||||
token
|
||||
);
|
||||
|
||||
// --- User API Functions ---
|
||||
export const getUserProfile = (username: string, token: string | null) =>
|
||||
apiFetch(`/users/${username}`, {}, UserSchema, token);
|
||||
|
||||
|
Reference in New Issue
Block a user