IO-937 Adjust csi logo path.

This commit is contained in:
Patrick Fic
2021-04-27 07:32:22 -07:00
parent ad9ce1d5d3
commit e99a5f5338

View File

@@ -92,7 +92,7 @@ export function CsiContainerPage({ currentUser }) {
/>
</Layout>
);
console.log(bodyshop);
return (
<Layout
style={{ height: "100vh", display: "flex", flexDirection: "column" }}
@@ -106,7 +106,7 @@ export function CsiContainerPage({ currentUser }) {
>
<div style={{ display: "flex", alignItems: "center", margin: "2em" }}>
{bodyshop.logo_img_path ? (
<img src={bodyshop.logo_img_path} alt="Logo" />
<img src={bodyshop.logo_img_path.src} alt="Logo" />
) : null}
<div style={{ margin: "2em" }}>
<strong>{bodyshop.shopname || ""}</strong>