mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
fix: mutations issues + trail + next canary bump
This commit is contained in:
parent
7583752362
commit
5cbf9f809c
11 changed files with 205 additions and 121 deletions
|
|
@ -49,6 +49,9 @@ function CreateCourseModal({ closeModal, orgslug }: any) {
|
|||
if (status.org_id == orgId) {
|
||||
closeModal();
|
||||
router.refresh();
|
||||
|
||||
// refresh page (FIX for Next.js BUG)
|
||||
window.location.reload();
|
||||
} else {
|
||||
alert("Error creating course, please see console logs");
|
||||
console.log(status);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue