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