移除 PurchaseForm 和 Right 组件中的调试日志
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
## TODO
|
||||
|
||||
引入 redis,客户端密钥使用 redis 保存
|
||||
|
||||
使用 pure js 的包代替 canvas,加快编译速度
|
||||
|
||||
重新设计验证逻辑,通过全局 cache 优化请求效率,使用服务端组件实现验证
|
||||
@@ -18,5 +20,3 @@
|
||||
|
||||
页面数据:
|
||||
- [ ] dashboard
|
||||
|
||||
|
||||
|
||||
@@ -35,8 +35,6 @@ export const PurchaseFormContext = createContext<PurchaseFormContextType | undef
|
||||
export type PurchaseFormProps = {}
|
||||
|
||||
export default function PurchaseForm(props: PurchaseFormProps) {
|
||||
console.log('PurchaseForm render')
|
||||
|
||||
const form = useForm<Schema>({
|
||||
resolver: zodResolver(schema),
|
||||
defaultValues: {
|
||||
|
||||
@@ -15,8 +15,6 @@ import Pay from '@/components/composites/purchase/_client/pay'
|
||||
export type RightProps = {}
|
||||
|
||||
export default function Right(props: RightProps) {
|
||||
console.log('Right render')
|
||||
|
||||
const authCtx = useContext(AuthContext)
|
||||
const profile = authCtx.profile
|
||||
|
||||
|
||||
Reference in New Issue
Block a user