diff --git a/src/features/chatbot/components/Wizard.js b/src/features/chatbot/components/Wizard.js index 7ec2d0b..aa80c25 100644 --- a/src/features/chatbot/components/Wizard.js +++ b/src/features/chatbot/components/Wizard.js @@ -73,12 +73,21 @@ const Wizard = ({ dismissBot }) => { setTimeout(dismissBot, 3000); }; + const getAvatar = () => { + const basePath = "public/icons/wizard.png"; + if (process.env.PUBLIC_URL) { + return `${process.env.PUBLIC_URL}/${basePath}`; + } else { + return basePath; + } + }; + return (