mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 08:31:13 -05:00
Refactor: Implement cleanup plan
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
/**
|
||||
* @deprecated Use EntityPhotoGallery directly or import from RidePhotoGalleryWrapper
|
||||
* This file is kept for backwards compatibility
|
||||
*/
|
||||
export { RidePhotoGallery } from './RidePhotoGalleryWrapper';
|
||||
@@ -1,22 +0,0 @@
|
||||
import { EntityPhotoGallery } from '@/components/upload/EntityPhotoGallery';
|
||||
|
||||
interface RidePhotoGalleryProps {
|
||||
rideId: string;
|
||||
rideName: string;
|
||||
parkId?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Backwards-compatible wrapper for RidePhotoGallery
|
||||
* Uses the generic EntityPhotoGallery component internally
|
||||
*/
|
||||
export function RidePhotoGallery({ rideId, rideName, parkId }: RidePhotoGalleryProps) {
|
||||
return (
|
||||
<EntityPhotoGallery
|
||||
entityId={rideId}
|
||||
entityType="ride"
|
||||
entityName={rideName}
|
||||
parentId={parkId}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user