From b8636c2fc297d85f1e45519f9891bbc7a6b674fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathe=CC=81o?= Date: Thu, 15 Apr 2021 12:55:47 +0200 Subject: [PATCH] Reset estimate when modal is closed, using a composable --- src/components/modals/BuyCryptoModal.vue | 9 +++------ src/components/modals/SellCryptoModal.vue | 9 +++------ src/lib/swap/utils/BuyUtils.ts | 4 ++-- src/lib/swap/utils/CommonUtils.ts | 10 +++++++++- src/lib/swap/utils/SellUtils.ts | 3 ++- 5 files changed, 19 insertions(+), 16 deletions(-) diff --git a/src/components/modals/BuyCryptoModal.vue b/src/components/modals/BuyCryptoModal.vue index cce248129..c3d89e324 100644 --- a/src/components/modals/BuyCryptoModal.vue +++ b/src/components/modals/BuyCryptoModal.vue @@ -255,7 +255,7 @@