Skip to content

armgit / TREK

Public Imported from GitHub
0

The most complete open-source travel planner: real-time collaboration, bookings, budgets, packing lists, journals, offline PWA, SSO and an AI-ready MCP server, with planet-wide place search and routing built in.

fix(places): the gallery's photo type stays inside its hook

Maurice79fb71bc92fb
diff --git a/client/src/components/Planner/usePlaceGallery.ts b/client/src/components/Planner/usePlaceGallery.ts
index 012b1b72c..a5789d960 100644
--- a/client/src/components/Planner/usePlaceGallery.ts
+++ b/client/src/components/Planner/usePlaceGallery.ts
@@ -9,7 +9,7 @@ import { readCachedEnrichment, storeEnrichment, type PlaceDetailsSelection } fro
import { photoCaption } from './placePhotoCredit';
/** What the lightbox renders; mirrors Journey/PhotoLightbox's private photo shape. */
-export interface GalleryPhoto {
+interface GalleryPhoto {
id: string;
src: string;
caption: string | null;