diff --git a/front/app/orgs/[orgslug]/(withmenu)/courses/courses.tsx b/front/app/orgs/[orgslug]/(withmenu)/courses/courses.tsx
index 19f9e17e..9525ff50 100644
--- a/front/app/orgs/[orgslug]/(withmenu)/courses/courses.tsx
+++ b/front/app/orgs/[orgslug]/(withmenu)/courses/courses.tsx
@@ -11,6 +11,7 @@ import React from 'react'
import Image from 'next/image';
import { AuthContext } from '@components/Security/AuthProvider';
import { revalidateTags } from '@services/utils/ts/requests';
+import { useRouter } from 'next/navigation';
interface CourseProps {
orgslug: string;
@@ -26,12 +27,13 @@ function Courses(props: CourseProps) {
const orgslug = props.orgslug;
const courses = props.courses;
const [newCourseModal, setNewCourseModal] = React.useState(false);
+ const router = useRouter();
async function deleteCourses(course_id: any) {
await deleteCourseFromBackend(course_id);
revalidateTags(['courses']);
- // terrible, nextjs right now doesn't mutate the page when the data changes
- window.location.reload();
+
+ router.refresh();
}
async function closeNewCourseModal() {
@@ -40,7 +42,6 @@ function Courses(props: CourseProps) {
-
return (
diff --git a/front/app/orgs/[orgslug]/settings/organization/general/organization.tsx b/front/app/orgs/[orgslug]/settings/organization/general/organization.tsx
index bc26be95..7b1038f9 100644
--- a/front/app/orgs/[orgslug]/settings/organization/general/organization.tsx
+++ b/front/app/orgs/[orgslug]/settings/organization/general/organization.tsx
@@ -4,6 +4,7 @@ import { Field, Form, Formik } from 'formik';
import { updateOrganization, uploadOrganizationLogo } from '@services/settings/org';
import { UploadCloud } from 'lucide-react';
import { revalidateTags } from '@services/utils/ts/requests';
+import { useRouter } from 'next/navigation';
interface OrganizationValues {
@@ -17,7 +18,7 @@ interface OrganizationValues {
function OrganizationClient(props: any) {
const [selectedFile, setSelectedFile] = useState(null);
-
+ const router = useRouter();
// ...
const handleFileChange = (event: React.ChangeEvent) => {
@@ -33,9 +34,8 @@ function OrganizationClient(props: any) {
await uploadOrganizationLogo(org_id, selectedFile);
setSelectedFile(null); // Reset the selected file
revalidateTags(['organizations']);
- // reload the page
- // terrible hack, it will fixed later
- window.location.reload();
+ router.refresh();
+
}
};
diff --git a/front/components/Modals/Course/Create/CreateCourse.tsx b/front/components/Modals/Course/Create/CreateCourse.tsx
index f0d0aa9a..3cf34896 100644
--- a/front/components/Modals/Course/Create/CreateCourse.tsx
+++ b/front/components/Modals/Course/Create/CreateCourse.tsx
@@ -8,6 +8,7 @@ import React, { useState } from 'react'
import { BarLoader } from 'react-spinners'
import { mutate } from 'swr';
import { revalidateTags } from '@services/utils/ts/requests';
+import { useRouter } from 'next/navigation';
function CreateCourseModal({ closeModal, orgslug }: any) {
const [isSubmitting, setIsSubmitting] = useState(false);
@@ -15,6 +16,7 @@ function CreateCourseModal({ closeModal, orgslug }: any) {
const [description, setDescription] = React.useState("");
const [isLoading, setIsLoading] = React.useState(false);
const [thumbnail, setThumbnail] = React.useState(null) as any;
+ const router = useRouter();
const [orgId, setOrgId] = React.useState(null) as any;
@@ -46,9 +48,7 @@ function CreateCourseModal({ closeModal, orgslug }: any) {
if (status.org_id == orgId) {
closeModal();
- // reload the page
- // terrible, nextjs right now doesn't mutate the page when the data changes
- window.location.reload();
+ router.refresh();
} else {
alert("Error creating course, please see console logs");
console.log(status);
diff --git a/front/components/UI/Elements/Menu/Menu.tsx b/front/components/UI/Elements/Menu/Menu.tsx
index 21ad6b8b..52e8dbf3 100644
--- a/front/components/UI/Elements/Menu/Menu.tsx
+++ b/front/components/UI/Elements/Menu/Menu.tsx
@@ -1,10 +1,8 @@
import React from "react";
-import learnhouseLogo from "public/learnhouse_logo.png";
import Link from "next/link";
-import Image from "next/image";
import { getBackendUrl, getUriWithOrg } from "@services/config/config";
-import { getOrganizationContextInfo, getOrganizationContextInfoNoAsync } from "@services/organizations/orgs";
+import { getOrganizationContextInfo } from "@services/organizations/orgs";
import ClientComponentSkeleton from "@components/UI/Utils/ClientComp";
import { HeaderProfileBox } from "@components/Security/HeaderProfileBox";
diff --git a/front/package-lock.json b/front/package-lock.json
index d2b6e54e..28d962dd 100644
--- a/front/package-lock.json
+++ b/front/package-lock.json
@@ -26,7 +26,7 @@
"formik": "^2.2.9",
"framer-motion": "^7.3.6",
"lucide-react": "^0.104.1",
- "next": "^13.4.6",
+ "next": "^13.4.7-canary.1",
"re-resizable": "^6.9.9",
"react": "^18.2.0",
"react-beautiful-dnd": "^13.1.1",
@@ -2123,9 +2123,9 @@
}
},
"node_modules/@next/env": {
- "version": "13.4.6",
- "resolved": "https://registry.npmjs.org/@next/env/-/env-13.4.6.tgz",
- "integrity": "sha512-nqUxEtvDqFhmV1/awSg0K2XHNwkftNaiUqCYO9e6+MYmqNObpKVl7OgMkGaQ2SZnFx5YqF0t60ZJTlyJIDAijg=="
+ "version": "13.4.7-canary.1",
+ "resolved": "https://registry.npmjs.org/@next/env/-/env-13.4.7-canary.1.tgz",
+ "integrity": "sha512-2ZA+CatMIujZ5G8gN8E0ndxnMwqSEa856KUqz0hxOSJxFMT26Uds2Z6tz82sFU8biNaq4lT7cUJhGKccTXTXsg=="
},
"node_modules/@next/eslint-plugin-next": {
"version": "13.0.6",
@@ -2137,9 +2137,9 @@
}
},
"node_modules/@next/swc-darwin-arm64": {
- "version": "13.4.6",
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.4.6.tgz",
- "integrity": "sha512-ahi6VP98o4HV19rkOXPSUu+ovfHfUxbJQ7VVJ7gL2FnZRr7onEFC1oGQ6NQHpm8CxpIzSSBW79kumlFMOmZVjg==",
+ "version": "13.4.7-canary.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.4.7-canary.1.tgz",
+ "integrity": "sha512-LmqRfCFnBSI8HPis6es0wpH+2nX9/FiSqRYZsk8ibPWcIm37rq5Qwp5cAK3hQFWlJlNdTyGaJ1e49VKZUTEXBw==",
"cpu": [
"arm64"
],
@@ -2152,9 +2152,9 @@
}
},
"node_modules/@next/swc-darwin-x64": {
- "version": "13.4.6",
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.4.6.tgz",
- "integrity": "sha512-13cXxKFsPJIJKzUqrU5XB1mc0xbUgYsRcdH6/rB8c4NMEbWGdtD4QoK9ShN31TZdePpD4k416Ur7p+deMIxnnA==",
+ "version": "13.4.7-canary.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.4.7-canary.1.tgz",
+ "integrity": "sha512-ngS/YWlBzhC2hb9Lmw6cCcks2aZRvFIB+iHlygZIELTfBPd9OUoRlOaa/KQLa/ycKwL2c8L8AFL67i3KQs5j3g==",
"cpu": [
"x64"
],
@@ -2167,9 +2167,9 @@
}
},
"node_modules/@next/swc-linux-arm64-gnu": {
- "version": "13.4.6",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.4.6.tgz",
- "integrity": "sha512-Ti+NMHEjTNktCVxNjeWbYgmZvA2AqMMI2AMlzkXsU7W4pXCMhrryAmAIoo+7YdJbsx01JQWYVxGe62G6DoCLaA==",
+ "version": "13.4.7-canary.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.4.7-canary.1.tgz",
+ "integrity": "sha512-5NDlJaba0tWz7mU6IpCfOQ5xDwXwFg4SV6IKLDoNFEchkmlAifW8y2i2OCdmaG+MDpODi3xUBkM1qP2Sd6oUMQ==",
"cpu": [
"arm64"
],
@@ -2182,9 +2182,9 @@
}
},
"node_modules/@next/swc-linux-arm64-musl": {
- "version": "13.4.6",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.4.6.tgz",
- "integrity": "sha512-OHoC6gO7XfjstgwR+z6UHKlvhqJfyMtNaJidjx3sEcfaDwS7R2lqR5AABi8PuilGgi0BO0O0sCXqLlpp3a0emQ==",
+ "version": "13.4.7-canary.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.4.7-canary.1.tgz",
+ "integrity": "sha512-bYIMi8vhtlCvAMg2xa0CCeOZ0wOZoOKUd9w46qmWfddBUuhwJj5C+QKHXOG+oTxXIVxq14Ffkww9orafYV0R6g==",
"cpu": [
"arm64"
],
@@ -2197,9 +2197,9 @@
}
},
"node_modules/@next/swc-linux-x64-gnu": {
- "version": "13.4.6",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.4.6.tgz",
- "integrity": "sha512-zHZxPGkUlpfNJCboUrFqwlwEX5vI9LSN70b8XEb0DYzzlrZyCyOi7hwDp/+3Urm9AB7YCAJkgR5Sp1XBVjHdfQ==",
+ "version": "13.4.7-canary.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.4.7-canary.1.tgz",
+ "integrity": "sha512-FvO2t5F02zzvWRybStIR5QZJnOSaznF6E7njBD0hcCeb3Il84rKJCc4DoMhcLt68YljI6tWhqlDbiy+7ghfJlg==",
"cpu": [
"x64"
],
@@ -2212,9 +2212,9 @@
}
},
"node_modules/@next/swc-linux-x64-musl": {
- "version": "13.4.6",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.4.6.tgz",
- "integrity": "sha512-K/Y8lYGTwTpv5ME8PSJxwxLolaDRdVy+lOd9yMRMiQE0BLUhtxtCWC9ypV42uh9WpLjoaD0joOsB9Q6mbrSGJg==",
+ "version": "13.4.7-canary.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.4.7-canary.1.tgz",
+ "integrity": "sha512-2kxqgbBvP+WUrKrrEcFqWGKrff5hGCmzEju5sbEZExuFV7sy+4nf5I9A9f0dFiP3z1hudVGJDrgbcDwt0Odvxw==",
"cpu": [
"x64"
],
@@ -2227,9 +2227,9 @@
}
},
"node_modules/@next/swc-win32-arm64-msvc": {
- "version": "13.4.6",
- "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.4.6.tgz",
- "integrity": "sha512-U6LtxEUrjBL2tpW+Kr1nHCSJWNeIed7U7l5o7FiKGGwGgIlFi4UHDiLI6TQ2lxi20fAU33CsruV3U0GuzMlXIw==",
+ "version": "13.4.7-canary.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.4.7-canary.1.tgz",
+ "integrity": "sha512-u+IxAt8i/iYc760qAMlrs0yGyYNokRJpWWdVBwTQ7n5zsjpJ2xifga3r8fWEJwdRvH0yVx15IM/QYZXQOJ8TQA==",
"cpu": [
"arm64"
],
@@ -2242,9 +2242,9 @@
}
},
"node_modules/@next/swc-win32-ia32-msvc": {
- "version": "13.4.6",
- "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.4.6.tgz",
- "integrity": "sha512-eEBeAqpCfhdPSlCZCayjCiyIllVqy4tcqvm1xmg3BgJG0G5ITiMM4Cw2WVeRSgWDJqQGRyyb+q8Y2ltzhXOWsQ==",
+ "version": "13.4.7-canary.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.4.7-canary.1.tgz",
+ "integrity": "sha512-aChXbr2c0aEwMhhkl9+JT7A2x7JMpmP5NLD7m+Drt4Ss6NZYTwecJTFEt/AbtIm5V/pMYVb1UDZXJtfTKNiHhw==",
"cpu": [
"ia32"
],
@@ -2257,9 +2257,9 @@
}
},
"node_modules/@next/swc-win32-x64-msvc": {
- "version": "13.4.6",
- "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.4.6.tgz",
- "integrity": "sha512-OrZs94AuO3ZS5tnqlyPRNgfWvboXaDQCi5aXGve3o3C+Sj0ctMUV9+Do+0zMvvLRumR8E0PTWKvtz9n5vzIsWw==",
+ "version": "13.4.7-canary.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.4.7-canary.1.tgz",
+ "integrity": "sha512-AcZDEqMXW3Bm2dmhMc8metReCpx/NilC8LPKP44SFM97y5OaAfhG+47n0SAmhI9L8NaWMsZCS5NryM/6scyaWQ==",
"cpu": [
"x64"
],
@@ -6375,11 +6375,11 @@
"dev": true
},
"node_modules/next": {
- "version": "13.4.6",
- "resolved": "https://registry.npmjs.org/next/-/next-13.4.6.tgz",
- "integrity": "sha512-sjVqjxU+U2aXZnYt4Ud6CTLNNwWjdSfMgemGpIQJcN3Z7Jni9xRWbR0ie5fQzCg87aLqQVhKA2ud2gPoqJ9lGw==",
+ "version": "13.4.7-canary.1",
+ "resolved": "https://registry.npmjs.org/next/-/next-13.4.7-canary.1.tgz",
+ "integrity": "sha512-IKmDxqALqXSSJHSdlslKq1Dry5x8gaQfXtOo8acyVRu0GDIc/Az8Hv/TWUkRGZPA76yllZeEf16LIv3QLkvLMA==",
"dependencies": {
- "@next/env": "13.4.6",
+ "@next/env": "13.4.7-canary.1",
"@swc/helpers": "0.5.1",
"busboy": "1.6.0",
"caniuse-lite": "^1.0.30001406",
@@ -6395,15 +6395,15 @@
"node": ">=16.8.0"
},
"optionalDependencies": {
- "@next/swc-darwin-arm64": "13.4.6",
- "@next/swc-darwin-x64": "13.4.6",
- "@next/swc-linux-arm64-gnu": "13.4.6",
- "@next/swc-linux-arm64-musl": "13.4.6",
- "@next/swc-linux-x64-gnu": "13.4.6",
- "@next/swc-linux-x64-musl": "13.4.6",
- "@next/swc-win32-arm64-msvc": "13.4.6",
- "@next/swc-win32-ia32-msvc": "13.4.6",
- "@next/swc-win32-x64-msvc": "13.4.6"
+ "@next/swc-darwin-arm64": "13.4.7-canary.1",
+ "@next/swc-darwin-x64": "13.4.7-canary.1",
+ "@next/swc-linux-arm64-gnu": "13.4.7-canary.1",
+ "@next/swc-linux-arm64-musl": "13.4.7-canary.1",
+ "@next/swc-linux-x64-gnu": "13.4.7-canary.1",
+ "@next/swc-linux-x64-musl": "13.4.7-canary.1",
+ "@next/swc-win32-arm64-msvc": "13.4.7-canary.1",
+ "@next/swc-win32-ia32-msvc": "13.4.7-canary.1",
+ "@next/swc-win32-x64-msvc": "13.4.7-canary.1"
},
"peerDependencies": {
"@opentelemetry/api": "^1.1.0",
@@ -10056,9 +10056,9 @@
}
},
"@next/env": {
- "version": "13.4.6",
- "resolved": "https://registry.npmjs.org/@next/env/-/env-13.4.6.tgz",
- "integrity": "sha512-nqUxEtvDqFhmV1/awSg0K2XHNwkftNaiUqCYO9e6+MYmqNObpKVl7OgMkGaQ2SZnFx5YqF0t60ZJTlyJIDAijg=="
+ "version": "13.4.7-canary.1",
+ "resolved": "https://registry.npmjs.org/@next/env/-/env-13.4.7-canary.1.tgz",
+ "integrity": "sha512-2ZA+CatMIujZ5G8gN8E0ndxnMwqSEa856KUqz0hxOSJxFMT26Uds2Z6tz82sFU8biNaq4lT7cUJhGKccTXTXsg=="
},
"@next/eslint-plugin-next": {
"version": "13.0.6",
@@ -10070,57 +10070,57 @@
}
},
"@next/swc-darwin-arm64": {
- "version": "13.4.6",
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.4.6.tgz",
- "integrity": "sha512-ahi6VP98o4HV19rkOXPSUu+ovfHfUxbJQ7VVJ7gL2FnZRr7onEFC1oGQ6NQHpm8CxpIzSSBW79kumlFMOmZVjg==",
+ "version": "13.4.7-canary.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-arm64/-/swc-darwin-arm64-13.4.7-canary.1.tgz",
+ "integrity": "sha512-LmqRfCFnBSI8HPis6es0wpH+2nX9/FiSqRYZsk8ibPWcIm37rq5Qwp5cAK3hQFWlJlNdTyGaJ1e49VKZUTEXBw==",
"optional": true
},
"@next/swc-darwin-x64": {
- "version": "13.4.6",
- "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.4.6.tgz",
- "integrity": "sha512-13cXxKFsPJIJKzUqrU5XB1mc0xbUgYsRcdH6/rB8c4NMEbWGdtD4QoK9ShN31TZdePpD4k416Ur7p+deMIxnnA==",
+ "version": "13.4.7-canary.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-darwin-x64/-/swc-darwin-x64-13.4.7-canary.1.tgz",
+ "integrity": "sha512-ngS/YWlBzhC2hb9Lmw6cCcks2aZRvFIB+iHlygZIELTfBPd9OUoRlOaa/KQLa/ycKwL2c8L8AFL67i3KQs5j3g==",
"optional": true
},
"@next/swc-linux-arm64-gnu": {
- "version": "13.4.6",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.4.6.tgz",
- "integrity": "sha512-Ti+NMHEjTNktCVxNjeWbYgmZvA2AqMMI2AMlzkXsU7W4pXCMhrryAmAIoo+7YdJbsx01JQWYVxGe62G6DoCLaA==",
+ "version": "13.4.7-canary.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-gnu/-/swc-linux-arm64-gnu-13.4.7-canary.1.tgz",
+ "integrity": "sha512-5NDlJaba0tWz7mU6IpCfOQ5xDwXwFg4SV6IKLDoNFEchkmlAifW8y2i2OCdmaG+MDpODi3xUBkM1qP2Sd6oUMQ==",
"optional": true
},
"@next/swc-linux-arm64-musl": {
- "version": "13.4.6",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.4.6.tgz",
- "integrity": "sha512-OHoC6gO7XfjstgwR+z6UHKlvhqJfyMtNaJidjx3sEcfaDwS7R2lqR5AABi8PuilGgi0BO0O0sCXqLlpp3a0emQ==",
+ "version": "13.4.7-canary.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-arm64-musl/-/swc-linux-arm64-musl-13.4.7-canary.1.tgz",
+ "integrity": "sha512-bYIMi8vhtlCvAMg2xa0CCeOZ0wOZoOKUd9w46qmWfddBUuhwJj5C+QKHXOG+oTxXIVxq14Ffkww9orafYV0R6g==",
"optional": true
},
"@next/swc-linux-x64-gnu": {
- "version": "13.4.6",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.4.6.tgz",
- "integrity": "sha512-zHZxPGkUlpfNJCboUrFqwlwEX5vI9LSN70b8XEb0DYzzlrZyCyOi7hwDp/+3Urm9AB7YCAJkgR5Sp1XBVjHdfQ==",
+ "version": "13.4.7-canary.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-gnu/-/swc-linux-x64-gnu-13.4.7-canary.1.tgz",
+ "integrity": "sha512-FvO2t5F02zzvWRybStIR5QZJnOSaznF6E7njBD0hcCeb3Il84rKJCc4DoMhcLt68YljI6tWhqlDbiy+7ghfJlg==",
"optional": true
},
"@next/swc-linux-x64-musl": {
- "version": "13.4.6",
- "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.4.6.tgz",
- "integrity": "sha512-K/Y8lYGTwTpv5ME8PSJxwxLolaDRdVy+lOd9yMRMiQE0BLUhtxtCWC9ypV42uh9WpLjoaD0joOsB9Q6mbrSGJg==",
+ "version": "13.4.7-canary.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-linux-x64-musl/-/swc-linux-x64-musl-13.4.7-canary.1.tgz",
+ "integrity": "sha512-2kxqgbBvP+WUrKrrEcFqWGKrff5hGCmzEju5sbEZExuFV7sy+4nf5I9A9f0dFiP3z1hudVGJDrgbcDwt0Odvxw==",
"optional": true
},
"@next/swc-win32-arm64-msvc": {
- "version": "13.4.6",
- "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.4.6.tgz",
- "integrity": "sha512-U6LtxEUrjBL2tpW+Kr1nHCSJWNeIed7U7l5o7FiKGGwGgIlFi4UHDiLI6TQ2lxi20fAU33CsruV3U0GuzMlXIw==",
+ "version": "13.4.7-canary.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-arm64-msvc/-/swc-win32-arm64-msvc-13.4.7-canary.1.tgz",
+ "integrity": "sha512-u+IxAt8i/iYc760qAMlrs0yGyYNokRJpWWdVBwTQ7n5zsjpJ2xifga3r8fWEJwdRvH0yVx15IM/QYZXQOJ8TQA==",
"optional": true
},
"@next/swc-win32-ia32-msvc": {
- "version": "13.4.6",
- "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.4.6.tgz",
- "integrity": "sha512-eEBeAqpCfhdPSlCZCayjCiyIllVqy4tcqvm1xmg3BgJG0G5ITiMM4Cw2WVeRSgWDJqQGRyyb+q8Y2ltzhXOWsQ==",
+ "version": "13.4.7-canary.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-ia32-msvc/-/swc-win32-ia32-msvc-13.4.7-canary.1.tgz",
+ "integrity": "sha512-aChXbr2c0aEwMhhkl9+JT7A2x7JMpmP5NLD7m+Drt4Ss6NZYTwecJTFEt/AbtIm5V/pMYVb1UDZXJtfTKNiHhw==",
"optional": true
},
"@next/swc-win32-x64-msvc": {
- "version": "13.4.6",
- "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.4.6.tgz",
- "integrity": "sha512-OrZs94AuO3ZS5tnqlyPRNgfWvboXaDQCi5aXGve3o3C+Sj0ctMUV9+Do+0zMvvLRumR8E0PTWKvtz9n5vzIsWw==",
+ "version": "13.4.7-canary.1",
+ "resolved": "https://registry.npmjs.org/@next/swc-win32-x64-msvc/-/swc-win32-x64-msvc-13.4.7-canary.1.tgz",
+ "integrity": "sha512-AcZDEqMXW3Bm2dmhMc8metReCpx/NilC8LPKP44SFM97y5OaAfhG+47n0SAmhI9L8NaWMsZCS5NryM/6scyaWQ==",
"optional": true
},
"@nicolo-ribaudo/chokidar-2": {
@@ -13093,20 +13093,20 @@
"dev": true
},
"next": {
- "version": "13.4.6",
- "resolved": "https://registry.npmjs.org/next/-/next-13.4.6.tgz",
- "integrity": "sha512-sjVqjxU+U2aXZnYt4Ud6CTLNNwWjdSfMgemGpIQJcN3Z7Jni9xRWbR0ie5fQzCg87aLqQVhKA2ud2gPoqJ9lGw==",
+ "version": "13.4.7-canary.1",
+ "resolved": "https://registry.npmjs.org/next/-/next-13.4.7-canary.1.tgz",
+ "integrity": "sha512-IKmDxqALqXSSJHSdlslKq1Dry5x8gaQfXtOo8acyVRu0GDIc/Az8Hv/TWUkRGZPA76yllZeEf16LIv3QLkvLMA==",
"requires": {
- "@next/env": "13.4.6",
- "@next/swc-darwin-arm64": "13.4.6",
- "@next/swc-darwin-x64": "13.4.6",
- "@next/swc-linux-arm64-gnu": "13.4.6",
- "@next/swc-linux-arm64-musl": "13.4.6",
- "@next/swc-linux-x64-gnu": "13.4.6",
- "@next/swc-linux-x64-musl": "13.4.6",
- "@next/swc-win32-arm64-msvc": "13.4.6",
- "@next/swc-win32-ia32-msvc": "13.4.6",
- "@next/swc-win32-x64-msvc": "13.4.6",
+ "@next/env": "13.4.7-canary.1",
+ "@next/swc-darwin-arm64": "13.4.7-canary.1",
+ "@next/swc-darwin-x64": "13.4.7-canary.1",
+ "@next/swc-linux-arm64-gnu": "13.4.7-canary.1",
+ "@next/swc-linux-arm64-musl": "13.4.7-canary.1",
+ "@next/swc-linux-x64-gnu": "13.4.7-canary.1",
+ "@next/swc-linux-x64-musl": "13.4.7-canary.1",
+ "@next/swc-win32-arm64-msvc": "13.4.7-canary.1",
+ "@next/swc-win32-ia32-msvc": "13.4.7-canary.1",
+ "@next/swc-win32-x64-msvc": "13.4.7-canary.1",
"@swc/helpers": "0.5.1",
"busboy": "1.6.0",
"caniuse-lite": "^1.0.30001406",
diff --git a/front/package.json b/front/package.json
index 7c1abd9e..d08c4320 100644
--- a/front/package.json
+++ b/front/package.json
@@ -27,7 +27,7 @@
"formik": "^2.2.9",
"framer-motion": "^7.3.6",
"lucide-react": "^0.104.1",
- "next": "^13.4.6",
+ "next": "^13.4.7-canary.1",
"re-resizable": "^6.9.9",
"react": "^18.2.0",
"react-beautiful-dnd": "^13.1.1",