Skip to content

Conversation

thgh
Copy link
Contributor

@thgh thgh commented Oct 3, 2023

Still kind of annoying that the table dissappears while it's revalidating. Will send another PR for that.

Copy link
Collaborator

@githubsaturn githubsaturn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! Just a few minor comments.

onClick={async () => {
const warning =
'Do you want to turn this app OFF?'
if (instanceCount && !window.confirm(warning))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1- I think we should also have a confirmation for turning on to avoid accidental clicks.

2- Suggest using modal.confirm from ant design to match the existing UI.

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

Successfully merging this pull request may close these issues.

2 participants