From 61d96d2a48d9cdfc11b841f3050700b5d0facec4 Mon Sep 17 00:00:00 2001 From: wesleybl Date: Thu, 7 Mar 2024 18:23:47 -0300 Subject: [PATCH] Use addPrefixPath in Logo component --- packages/volto/src/components/theme/Logo/Logo.jsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/volto/src/components/theme/Logo/Logo.jsx b/packages/volto/src/components/theme/Logo/Logo.jsx index b793c7168c..3d8299227a 100644 --- a/packages/volto/src/components/theme/Logo/Logo.jsx +++ b/packages/volto/src/components/theme/Logo/Logo.jsx @@ -10,6 +10,7 @@ import { useSelector, useDispatch } from 'react-redux'; import { useLocation } from 'react-router-dom'; import { getNavroot } from '@plone/volto/actions'; import { + addPrefixPath, flattenToAppURL, hasApiExpander, getBaseUrl, @@ -48,7 +49,10 @@ const Logo = () => { const navRootPath = flattenToAppURL(navroot?.navroot?.['@id']) || '/'; return ( - +