diff --git a/apps/web/src/components/LoadingRing.vue b/apps/web/src/components/LoadingRing.vue deleted file mode 100644 index 5b5131e5a..000000000 --- a/apps/web/src/components/LoadingRing.vue +++ /dev/null @@ -1,13 +0,0 @@ - - - - - \ No newline at end of file diff --git a/apps/web/src/components/charts/LineChartJS.vue b/apps/web/src/components/charts/LineChartJS.vue index f8e4b8b5f..ae2bf3f93 100644 --- a/apps/web/src/components/charts/LineChartJS.vue +++ b/apps/web/src/components/charts/LineChartJS.vue @@ -1,6 +1,6 @@ diff --git a/apps/web/src/layouts/default-layout.vue b/apps/web/src/layouts/default-layout.vue index b23d2d3b4..fcd20d121 100644 --- a/apps/web/src/layouts/default-layout.vue +++ b/apps/web/src/layouts/default-layout.vue @@ -2,13 +2,12 @@ import { ref, onMounted, onUnmounted } from 'vue' import Carousel from '@/components/Carousel.vue' import Slide from '@/components/Slide.vue' -import LoadingRing from '@/components/LoadingRing.vue' import useWallet from '@/composables/wallet' const authFlowCardNumber = ref(1) -const selectedAddress = ref(null as string | null) const selectedProivder = ref(null as null | string) +const termsCheckbox = ref(true) const { activeWallets, @@ -19,7 +18,6 @@ const { const show_setting_modal = ref(false) const openWalletConnect = ref(false) -const openSelectAddressInput = ref(false) const handleOutsideClick = (event: any) => { const setting_modal = document.getElementById('setting_modal') @@ -41,6 +39,7 @@ const handleOutsideClick = (event: any) => { if(connect_wallet_container && connect_wallet_card){ if(openWalletConnect.value && connect_wallet_container.contains(event.target) && !connect_wallet_card.contains(event.target)) { openWalletConnect.value = false + authFlowCardNumber.value = 1 } } } @@ -57,11 +56,6 @@ const convertString = (inputString: string) => { return start + middle + end } -const toggleOpenSelectAddressInput = () => { - openSelectAddressInput.value = !openSelectAddressInput.value -} - - onMounted(() => { window.addEventListener('click', handleOutsideClick) }) @@ -77,17 +71,7 @@ onUnmounted(() =>{
{
+