瀏覽代碼

♻️ 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 月之前
父節點
當前提交
0e63471108
共有 1 個文件被更改,包括 2 次插入1 次删除
  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,