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:
parent
cdd00bf747
commit
d5a90c793b
4 changed files with 14 additions and 17 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<script setup lang="ts">
|
||||
import { ref, computed } from 'vue'
|
||||
import { computed } from 'vue'
|
||||
import { useForm } from 'vee-validate'
|
||||
import { toTypedSchema } from '@vee-validate/zod'
|
||||
import * as z from 'zod'
|
||||
|
|
@ -8,7 +8,6 @@ import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } f
|
|||
import { Button } from '@/components/ui/button'
|
||||
import { Input } from '@/components/ui/input'
|
||||
import { Textarea } from '@/components/ui/textarea'
|
||||
import { Label } from '@/components/ui/label'
|
||||
import { Send, AlertCircle, Loader2 } from 'lucide-vue-next'
|
||||
import { FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage } from '@/components/ui/form'
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue