small fix and working follow button
Showing
- app/(content)/(user)/[username]/(profile)/layout.tsx 2 additions, 2 deletionsapp/(content)/(user)/[username]/(profile)/layout.tsx
- app/api/users/follow/route.ts 1 addition, 3 deletionsapp/api/users/follow/route.ts
- components/follow-button.tsx 40 additions, 11 deletionscomponents/follow-button.tsx
- components/profile/api/follow-user.ts 2 additions, 5 deletionscomponents/profile/api/follow-user.ts
- components/profile/api/unfollow-user.ts 4 additions, 5 deletionscomponents/profile/api/unfollow-user.ts
- components/profile/components/profile-navbar.tsx 4 additions, 4 deletionscomponents/profile/components/profile-navbar.tsx
Please register or sign in to comment