dfsfsf
This commit is contained in:
parent
19f4f9437a
commit
a029cadf96
|
@ -75,7 +75,7 @@ interface EditAboutUsProps {
|
|||
|
||||
|
||||
const EditAboutUs = ({ aboutUs, isOpen, onClose }: EditAboutUsProps) => {
|
||||
const url = import.meta.env.VITE_API_URL
|
||||
//const url = import.meta.env.VITE_API_URL
|
||||
const queryClient = useQueryClient()
|
||||
const showToast = useCustomToast()
|
||||
const {
|
||||
|
|
|
@ -52,7 +52,7 @@ const CourseDetails = () => {
|
|||
register,
|
||||
handleSubmit,
|
||||
reset,
|
||||
getValues,
|
||||
//getValues,
|
||||
setValue,
|
||||
formState: { isSubmitting, errors, isDirty },
|
||||
} = useForm<CourseCreate>({
|
||||
|
|
|
@ -33,13 +33,13 @@ const CourseImages = () => {
|
|||
|
||||
const queryClient = useQueryClient();
|
||||
const courseDetails = queryClient.getQueryData(['course']) as CourseDetailsPublic | undefined;
|
||||
const url = import.meta.env.VITE_API_URL
|
||||
//const url = import.meta.env.VITE_API_URL
|
||||
const showToast = useCustomToast()
|
||||
const {
|
||||
register,
|
||||
handleSubmit,
|
||||
reset,
|
||||
getValues,
|
||||
//getValues,
|
||||
setValue,
|
||||
formState: { isSubmitting, errors, isDirty },
|
||||
} = useForm<ImageCreate>({
|
||||
|
|
|
@ -33,7 +33,7 @@ const CourseInfoImages = () => {
|
|||
|
||||
const queryClient = useQueryClient();
|
||||
const courseDetails = queryClient.getQueryData(['course']) as CourseDetailsPublic | undefined;
|
||||
const url = import.meta.env.VITE_API_URL
|
||||
//const url = import.meta.env.VITE_API_URL
|
||||
const showToast = useCustomToast()
|
||||
const {
|
||||
register,
|
||||
|
|
Loading…
Reference in New Issue