Added title in about us and updated apis
This commit is contained in:
		| @@ -51,7 +51,7 @@ function EditCourse() { | ||||
|     return ( | ||||
|         <Container maxW="full"> | ||||
|             <Heading size="lg" textAlign={{ base: "center", md: "left" }} py={12}> | ||||
|                 User Settings | ||||
|                 Courses | ||||
|             </Heading> | ||||
|             <Tabs variant="enclosed"> | ||||
|                 <TabList> | ||||
|   | ||||
| @@ -76,6 +76,7 @@ function AboutUsTable() { | ||||
|                     <Thead> | ||||
|                         <Tr> | ||||
|                             <Th>ID</Th> | ||||
|                             <Th>Title</Th> | ||||
|                             <Th>Description</Th> | ||||
|                             <Th>Image</Th> | ||||
|                             <Th>Index</Th> | ||||
| @@ -97,6 +98,12 @@ function AboutUsTable() { | ||||
|                             {aboutUs?.data.map((aboutUs) => ( | ||||
|                                 <Tr key={aboutUs.id} opacity={isPlaceholderData ? 0.5 : 1}> | ||||
|                                     <Td isTruncated maxWidth="50">{aboutUs.id}</Td> | ||||
|                                     <Td | ||||
|                                         whiteSpace="pre-line" | ||||
|                                         maxWidth="350px" | ||||
|                                     > | ||||
|                                         {parse(aboutUs.title)} | ||||
|                                     </Td> | ||||
|  | ||||
|                                     <Td | ||||
|                                         whiteSpace="pre-line" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user