diff --git a/src/calendar/components/Header.js b/src/calendar/components/Header.js index e4fdf2fc5..ff0e71b2f 100644 --- a/src/calendar/components/Header.js +++ b/src/calendar/components/Header.js @@ -16,7 +16,7 @@ export default createComponent({ const renderTitle = () => { if (props.showTitle) { const text = props.title || t('title'); - const title = slots.title ? slots.title : text; + const title = slots.title ? slots.title() : text; return