2
0

🐛 Restore support bubble in cloud prod

This commit is contained in:
Baptiste Arnaud
2023-05-16 09:02:33 +02:00
parent 2b54518d04
commit f8ea2e1337

View File

@ -59,7 +59,7 @@ const App = ({ Component, pageProps }: AppProps) => {
<TypebotProvider typebotId={typebotId}>
<WorkspaceProvider typebotId={typebotId}>
<Component {...pageProps} />
{!pathname.endsWith('edit') && !isCloudProdInstance && (
{!pathname.endsWith('edit') && isCloudProdInstance && (
<SupportBubble />
)}
<NewVersionPopup />