mirror of
https://github.com/Dvorinka/MyClubServer.git
synced 2026-06-05 11:12:56 +00:00
dev day #79
This commit is contained in:
@@ -22,6 +22,7 @@ import { ChevronRight, ExternalLink, Calendar, Image as ImageIcon } from 'lucide
|
||||
import MainLayout from '../components/layout/MainLayout';
|
||||
import { API_URL } from '../services/api';
|
||||
import PhotoModal from '../components/gallery/PhotoModal';
|
||||
import CommentsSection from '../components/comments/CommentsSection';
|
||||
|
||||
interface Photo {
|
||||
id: string;
|
||||
@@ -287,6 +288,13 @@ const AlbumDetailPage: React.FC = () => {
|
||||
</Text>
|
||||
</Box>
|
||||
)}
|
||||
|
||||
{/* Comments */}
|
||||
{album.id && (
|
||||
<Box mt={6}>
|
||||
<CommentsSection targetType="gallery_album" targetId={String(album.id)} />
|
||||
</Box>
|
||||
)}
|
||||
</Container>
|
||||
</Box>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user