fsdfsdf
This commit is contained in:
parent
eaabe01b4d
commit
19f4f9437a
|
@ -165,7 +165,7 @@ const EditAboutUs = ({ aboutUs, isOpen, onClose }: EditAboutUsProps) => {
|
|||
<ModalCloseButton />
|
||||
<ModalBody pb={30}>
|
||||
<Box boxSize='auto'>
|
||||
<Image src={url + "/" + aboutUs.image} />
|
||||
<Image src={import.meta.env.VITE_IMAGE_URL+"/"+aboutUs.image} />
|
||||
</Box>
|
||||
<FormControl isRequired isInvalid={!!errors.title}>
|
||||
<FormLabel htmlFor="title">Title</FormLabel>
|
||||
|
|
|
@ -231,7 +231,7 @@ const CourseDetails = () => {
|
|||
/>
|
||||
</FormControl>
|
||||
<FormControl mt={4}></FormControl>
|
||||
<button
|
||||
{/* <button
|
||||
type="button"
|
||||
onClick={() => {
|
||||
const values = getValues()
|
||||
|
@ -240,7 +240,7 @@ const CourseDetails = () => {
|
|||
}}
|
||||
>
|
||||
Get Values
|
||||
</button>
|
||||
</button> */}
|
||||
<Button
|
||||
variant="primary"
|
||||
type="submit"
|
||||
|
|
|
@ -109,7 +109,7 @@ const CourseImages = () => {
|
|||
<ActionsMenu type={"Image"} value={image} />
|
||||
</Grid>
|
||||
|
||||
<Image key={index} src={url + "/" + image.image} objectFit="cover" />
|
||||
<Image key={index} src={import.meta.env.VITE_IMAGE_URL + "/" + image.image} objectFit="cover" />
|
||||
|
||||
</Box>
|
||||
))}
|
||||
|
@ -145,7 +145,7 @@ const CourseImages = () => {
|
|||
{errors.image && errors?.image.message}
|
||||
</FormErrorMessage>
|
||||
</FormControl>
|
||||
<button
|
||||
{/* <button
|
||||
type="button"
|
||||
onClick={() => {
|
||||
const values = getValues()
|
||||
|
@ -154,7 +154,7 @@ const CourseImages = () => {
|
|||
}}
|
||||
>
|
||||
Get Values
|
||||
</button>
|
||||
</button> */}
|
||||
<Button
|
||||
variant="primary"
|
||||
type="submit"
|
||||
|
|
|
@ -108,7 +108,7 @@ const CourseInfoImages = () => {
|
|||
<ActionsMenu type={"Info_Image"} value={image} />
|
||||
</Grid>
|
||||
|
||||
<Image key={index} src={url + "/" + image.image} objectFit="cover" />
|
||||
<Image key={index} src={import.meta.env.VITE_IMAGE_URL + "/" + image.image} objectFit="cover" />
|
||||
|
||||
</Box>
|
||||
))}
|
||||
|
|
Loading…
Reference in New Issue