diff --git a/src/components/ItemImage.js b/src/components/ItemImage.js index f11797e..2effa2d 100644 --- a/src/components/ItemImage.js +++ b/src/components/ItemImage.js @@ -10,7 +10,7 @@ export function ItemImage ( props ) { useEffect( () => { if( props.source ) { - const imgref = ref( storage, `book_covers/${props.source}`) + const imgref = ref( storage, `artworks/${props.source}`) getDownloadURL( imgref ) .then( (url) => setImage(url) ) .catch( err => console.log(err) ) diff --git a/src/pages/Detail.js b/src/pages/Detail.js index 804f02e..63ab1aa 100644 --- a/src/pages/Detail.js +++ b/src/pages/Detail.js @@ -32,12 +32,10 @@ export function Detail(props) { -

More information

Artwork description

{artworkData.summary}

Author

systie

- diff --git a/src/pages/Home.js b/src/pages/Home.js index 50116aa..65b1e9d 100644 --- a/src/pages/Home.js +++ b/src/pages/Home.js @@ -22,7 +22,7 @@ export function Home(props) { - + { artwork.artwork_title }