2
0
Эх сурвалжийг харах

♻️ refactor(payment): optimize component import structure

- remove Button import from @tarojs/components
- add Button import from custom UI component library @/components/ui/button
yourname 1 сар өмнө
parent
commit
0e63471108

+ 2 - 1
mini/src/pages/payment/index.tsx

@@ -5,8 +5,9 @@
 
 import Taro from '@tarojs/taro'
 import { useState } from 'react'
-import { View, Text, Button } from '@tarojs/components'
+import { View, Text } from '@tarojs/components'
 import { useQuery } from '@tanstack/react-query'
+import { Button } from '@/components/ui/button'
 import {
   requestWechatPayment,
   PaymentStatus,