Skip to content

Commit

Permalink
refactor(client): move avatar component to user components
Browse files Browse the repository at this point in the history
  • Loading branch information
lareii committed Sep 18, 2024
1 parent 286048f commit 2a1e665
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/app/app/settings/profile/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import { Input } from '@/components/ui/input';
import { Textarea } from '@/components/ui/textarea';
import { Button } from '@/components/ui/button';
import { useToast } from '@/components/ui/use-toast';
import Avatar from '@/components/app/Avatar';
import Avatar from '@/components/app/User/Avatar';
import { useAuthStore } from '@/stores/auth';
import { updateMe } from '@/lib/api/auth';

Expand Down
2 changes: 1 addition & 1 deletion client/app/app/users/[slug]/page.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { Badge } from '@/components/ui/badge';
import { useToast } from '@/components/ui/use-toast';
import PostList from '@/components/app/Post/List';
import Follows from '@/components/app/User/Follows';
import Avatar from '@/components/app/Avatar';
import Avatar from '@/components/app/User/Avatar';
import { followUser } from '@/lib/api/users';
import { useAuthStore } from '@/stores/auth';

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion client/components/app/User/Hover.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
HoverCardContent,
HoverCardTrigger
} from '@/components/ui/hover-card';
import Avatar from '@/components/app/Avatar';
import Avatar from '@/components/app/User/Avatar';

export default function Hover({ user }) {
return (
Expand Down
2 changes: 1 addition & 1 deletion client/components/app/User/Info.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Hover from '@/components/app/User/Hover';
import Avatar from '@/components/app/Avatar';
import Avatar from '@/components/app/User/Avatar';

export default function UserInfo({ user }) {
return (
Expand Down

0 comments on commit 2a1e665

Please sign in to comment.