Browse Source

♻️ 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 tháng trước cách đây
mục cha
commit
0e63471108
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      mini/src/pages/payment/index.tsx

+ 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,