Merge branch 'learnhouse:dev' into Ordered-List

This commit is contained in:
Sanjeev Kumar 2023-08-24 01:43:36 +05:30 committed by GitHub
commit 6b6b3e65f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 4057 additions and 8816 deletions

View file

@ -14,7 +14,7 @@ function Chapter(props: any) {
{...provided.draggableProps}
ref={provided.innerRef}
// isDragging={snapshot.isDragging}
className=""
className="max-w-screen-2xl mx-auto"
key={props.info.list.chapter.id}
>
<h3 className="flex space-x-2 pt-3 font-bold text-md items-center">
@ -64,7 +64,6 @@ const ChapterWrapper = styled.div`
margin-bottom: 20px;
padding: 4px;
background-color: #ffffff9d;
width: 900px;
font-size: 15px;
display: block;
border-radius: 9px;

View file

@ -21,7 +21,7 @@ function TrailCourseElement(props: TrailCourseElementProps) {
// Close activity
let activity = await removeCourse(course_id, props.orgslug);
// Mutate course
revalidateTags(['courses'], props.orgslug);
await revalidateTags(['courses'], props.orgslug);
router.refresh();
// Mutate