mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
Merge branch 'learnhouse:dev' into Ordered-List
This commit is contained in:
commit
6b6b3e65f9
27 changed files with 4057 additions and 8816 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue