移除 PurchaseForm 和 Right 组件中的调试日志
This commit is contained in:
@@ -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