mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 23:11:13 -05:00
Refactor code structure and remove redundant changes
This commit is contained in:
23
src-old/components/companies/OperatorPhotoGallery.tsx
Normal file
23
src-old/components/companies/OperatorPhotoGallery.tsx
Normal file
@@ -0,0 +1,23 @@
|
||||
import { EntityPhotoGallery } from '@/components/upload/EntityPhotoGallery';
|
||||
|
||||
interface OperatorPhotoGalleryProps {
|
||||
operatorId: string;
|
||||
operatorName: string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Wrapper for operator photo galleries
|
||||
* Uses the generic EntityPhotoGallery component internally
|
||||
*/
|
||||
export function OperatorPhotoGallery({
|
||||
operatorId,
|
||||
operatorName
|
||||
}: OperatorPhotoGalleryProps) {
|
||||
return (
|
||||
<EntityPhotoGallery
|
||||
entityId={operatorId}
|
||||
entityType="operator"
|
||||
entityName={operatorName}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user