mirror of
https://github.com/aaronpo97/the-biergarten-app.git
synced 2026-02-16 10:42:08 +00:00
Refactor: create separate directory for beer/brewery comments
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import {FC} from 'react';
|
||||
import Spinner from '../ui/Spinner';
|
||||
import CommentLoadingCardBody from './CommentLoadingCardBody';
|
||||
import CommentLoadingCardBody from '../BeerBreweryComments/CommentLoadingCardBody';
|
||||
|
||||
interface LoadingComponentProps {
|
||||
length: number;
|
||||
|
||||
@@ -8,7 +8,7 @@ import useBeerPostComments from '@/hooks/data-fetching/beer-comments/useBeerPost
|
||||
import useBreweryPostComments from '@/hooks/data-fetching/brewery-comments/useBreweryPostComments';
|
||||
import NoCommentsCard from '../BeerById/NoCommentsCard';
|
||||
import LoadingComponent from '../BeerById/LoadingComponent';
|
||||
import CommentCardBody from '../BeerById/CommentCardBody';
|
||||
import CommentCardBody from '../BeerBreweryComments/CommentCardBody';
|
||||
|
||||
interface CommentsComponentProps {
|
||||
commentSectionRef: MutableRefObject<HTMLDivElement | null>;
|
||||
|
||||
Reference in New Issue
Block a user