diff --git a/src/components/widgets/background/PhotoInformation.jsx b/src/components/widgets/background/PhotoInformation.jsx index aea608fe..4a6f277f 100644 --- a/src/components/widgets/background/PhotoInformation.jsx +++ b/src/components/widgets/background/PhotoInformation.jsx @@ -1,5 +1,5 @@ import variables from 'modules/variables'; -import { useState, Fragment } from 'react'; +import { useState } from 'react'; import Favourite from './Favourite'; import { MdInfo, @@ -160,16 +160,13 @@ export default function PhotoInformation({ info, url, api }) { showingPhotoMap = true; return ( - - - location - -
-
+ + location + ); }; @@ -288,20 +285,16 @@ export default function PhotoInformation({ info, url, api }) { )} {info.location && info.location !== 'N/A' ? ( - -
- - {info.location} -
-
+
+ + {info.location} +
) : null} {info.camera && info.camera !== 'N/A' ? ( - -
- - {info.camera} -
-
+
+ + {info.camera} +
) : null}