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