diff --git a/frontend/src/components/image/index.tsx b/frontend/src/components/image/index.tsx index b870692..1342321 100644 --- a/frontend/src/components/image/index.tsx +++ b/frontend/src/components/image/index.tsx @@ -4,7 +4,7 @@ import { A } from "@solidjs/router"; export const ImageComponent: Component<{ ID: string }> = (props) => { return ( - + { const entity = () => images().find((i) => i.data.ID === params.entityId); return ( -
- Sorry, this entity could not be found} - > - {(e) => ( -
- -
- - {(imageId) => } - -
+ Sorry, this entity could not be found}> + {(e) => ( +
+ +
+ + {(imageId) => } +
- )} - -
+
+ )} +
); }; diff --git a/frontend/src/pages/image/index.tsx b/frontend/src/pages/image/index.tsx index 25ad4ce..3f25af1 100644 --- a/frontend/src/pages/image/index.tsx +++ b/frontend/src/pages/image/index.tsx @@ -14,9 +14,11 @@ export const ImagePage: Component = () => { Object.entries(imagesWithProperties()).find(([id]) => id === imageId)?.[1]; return ( -
- -
+
+
+ +
+
{(image) => (