mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 03:51:13 -05:00
Refactor code structure and remove redundant changes
This commit is contained in:
20
src-old/components/parks/ParkPhotoGallery.tsx
Normal file
20
src-old/components/parks/ParkPhotoGallery.tsx
Normal file
@@ -0,0 +1,20 @@
|
||||
import { EntityPhotoGallery } from '@/components/upload/EntityPhotoGallery';
|
||||
|
||||
interface ParkPhotoGalleryProps {
|
||||
parkId: string;
|
||||
parkName: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Backwards-compatible wrapper for ParkPhotoGallery
|
||||
* Uses the generic EntityPhotoGallery component internally
|
||||
*/
|
||||
export function ParkPhotoGallery({ parkId, parkName }: ParkPhotoGalleryProps) {
|
||||
return (
|
||||
<EntityPhotoGallery
|
||||
entityId={parkId}
|
||||
entityType="park"
|
||||
entityName={parkName}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user