botonic icon indicating copy to clipboard operation
botonic copied to clipboard

Text component without text inside won't show in production

Open asastre opened this issue 5 years ago • 1 comments

Describe the bug If you declare an action like this one:

export default class extends React.Component {
  render() {
    return <Text><Button payload={'handoff'}>Handoff</Button></Text>
  }
}

The message will be displayed like this in development: Captura de pantalla de 2020-11-18 09-33-59

But in production it won't be displayed, the bot will remain "thinking" for a response: Captura de pantalla de 2020-11-18 09-36-12

To Reproduce Create an action like the stated before.

What is the expected behaviour? I would expect to see the message without a text but with a button (like the screenshot in development) in both environments, development and production.

About the environment Version: @botonic/react 0.15.2 Browser: Chrome OS: Linux Ubuntu 18.04 Environment affected: production.

asastre avatar Nov 18 '20 08:11 asastre

Hi @asastre ! thanks for reporting! Atm, this is something that is not supported in the server-side, we'll take a closer look on it 👍

vanbasten17 avatar Nov 19 '20 08:11 vanbasten17