fixed some build bug
This commit was merged in pull request #33.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import {useMutation, useQueryClient} from '@tanstack/react-query'
|
||||
import {useMutation} from '@tanstack/react-query'
|
||||
import {Formik, Form} from 'formik'
|
||||
import * as Yup from "yup";
|
||||
// import InputText from '../InputText'
|
||||
@@ -19,7 +19,7 @@ export default function ProductDetails({productDetails}) {
|
||||
sale_text: productDetails?.sale_text,
|
||||
};
|
||||
|
||||
const queryClient = useQueryClient()
|
||||
// const queryClient = useQueryClient()
|
||||
|
||||
const productUpdate = useMutation({
|
||||
mutationFn: (fields) => {
|
||||
|
||||
Reference in New Issue
Block a user