Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to remove questions after bot answers them #349

Open
jtagaca opened this issue Sep 9, 2022 · 0 comments
Open

Not able to remove questions after bot answers them #349

jtagaca opened this issue Sep 9, 2022 · 0 comments

Comments

@jtagaca
Copy link

jtagaca commented Sep 9, 2022

Describe the bug
A clear and concise description of what the bug is.
Hi so I think that my state logic should be correct in removing the questions that have been asked however it appears as though the questions are not rerendered once the chat has been started?

To Reproduce
Steps to reproduce the behavior:

  1. Go to

https://replit.com/@jtagaca/GenuineMicroIteration#index.js

  1. See that I use a state for my questions and on the questions it has options which is a state and are updated then I update the question state.

Expected behavior
It should update the question with the new options but it doesn't work and I have tried to debug and step through the line and it appears as though the state updates but the chatbot does not rerender those new questions.

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant