Refactor wallet module components for improved code organization and performance

- Updated import paths in the wallet module to enhance clarity and maintainability.
- Removed unused imports in ReceiveDialog and SendDialog components to streamline the code.
- Introduced a computed property in WalletPage to extract the base domain from the payment service configuration, improving readability and error handling.

These changes contribute to a cleaner codebase and enhance the overall performance of the wallet module.
This commit is contained in:
padreug 2025-09-15 00:54:01 +02:00
parent cdd00bf747
commit d5a90c793b
4 changed files with 14 additions and 17 deletions

View file

@ -1,5 +1,5 @@
<script setup lang="ts">
import { ref, computed, nextTick } from 'vue'
import { ref, computed } from 'vue'
import { useForm } from 'vee-validate'
import { toTypedSchema } from '@vee-validate/zod'
import * as z from 'zod'
@ -55,7 +55,7 @@ const form = useForm({
}
})
const { resetForm, values, meta } = form
const { resetForm, meta } = form
const isFormValid = computed(() => meta.value.valid)
// State