aboutsummaryrefslogtreecommitdiff
path: root/packages/anastasis-webui/src/components/AsyncButton.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2021-11-04 15:17:57 -0300
committerSebastian <sebasjm@gmail.com>2021-11-04 15:18:34 -0300
commitae0a35df2b2934c517954d2a73af4cc6e1734e30 (patch)
tree973b8525a6e7641048a7e31451c7a9cf3274726e /packages/anastasis-webui/src/components/AsyncButton.tsx
parent5c6f38091068d67f88edda1d776e3c5f86c1a94e (diff)
async, onInput, and some fixes
Diffstat (limited to 'packages/anastasis-webui/src/components/AsyncButton.tsx')
-rw-r--r--packages/anastasis-webui/src/components/AsyncButton.tsx4
1 files changed, 1 insertions, 3 deletions
diff --git a/packages/anastasis-webui/src/components/AsyncButton.tsx b/packages/anastasis-webui/src/components/AsyncButton.tsx
index 5602715e4..af85016e8 100644
--- a/packages/anastasis-webui/src/components/AsyncButton.tsx
+++ b/packages/anastasis-webui/src/components/AsyncButton.tsx
@@ -37,9 +37,7 @@ export function AsyncButton({ onClick, disabled, children, ...rest }: Props): VN
// if (isSlow) {
// return <LoadingModal onCancel={cancel} />;
// }
- console.log(isLoading)
- if (isLoading) {
-
+ if (isLoading) {
return <button class="button">Loading...</button>;
}