+
diff --git a/frontend/packages/yki/src/routers/AppRouter.tsx b/frontend/packages/yki/src/routers/AppRouter.tsx
index ed7abc5d3..89fb1139c 100644
--- a/frontend/packages/yki/src/routers/AppRouter.tsx
+++ b/frontend/packages/yki/src/routers/AppRouter.tsx
@@ -48,12 +48,17 @@ export const AppRouter: FC = () => {
}
}, [dispatch, sessionStatus]);
- useAPIErrorToast();
+ const ErrorToast = () => {
+ useAPIErrorToast();
+
+ return <>>;
+ };
const Root = (
+
diff --git a/frontend/yarn.lock b/frontend/yarn.lock
index 3f7ea9468..b6c8ccd3c 100644
--- a/frontend/yarn.lock
+++ b/frontend/yarn.lock
@@ -1424,6 +1424,15 @@ __metadata:
languageName: node
linkType: hard
+"@babel/runtime@npm:^7.18.9, @babel/runtime@npm:^7.23.6":
+ version: 7.23.7
+ resolution: "@babel/runtime@npm:7.23.7"
+ dependencies:
+ regenerator-runtime: "npm:^0.14.0"
+ checksum: b29cf3ca6277aea8c5c823d9b86e7f7153757f07eaaa81d726f125de00ac0e7451c90845770f919826a94ade8f71a6bda9c0421410dfcc285ee17a40f8f8ca00
+ languageName: node
+ linkType: hard
+
"@babel/template@npm:^7.22.15, @babel/template@npm:^7.22.5, @babel/template@npm:^7.3.3":
version: 7.22.15
resolution: "@babel/template@npm:7.22.15"
@@ -1592,6 +1601,69 @@ __metadata:
languageName: node
linkType: hard
+"@date-io/core@npm:^2.15.0, @date-io/core@npm:^2.17.0":
+ version: 2.17.0
+ resolution: "@date-io/core@npm:2.17.0"
+ checksum: 7b7e2584bb82a3c7a891654f19a5f09307f9f4942f6715c76926b8d547fadac6d2afe65c5167ab611126eb3c5181f7800df50537651a79255b8d17b4cba680b2
+ languageName: node
+ linkType: hard
+
+"@date-io/date-fns@npm:^2.15.0":
+ version: 2.17.0
+ resolution: "@date-io/date-fns@npm:2.17.0"
+ dependencies:
+ "@date-io/core": "npm:^2.17.0"
+ peerDependencies:
+ date-fns: ^2.0.0
+ peerDependenciesMeta:
+ date-fns:
+ optional: true
+ checksum: 0d81c60d8a8c155a26d5a47ab78cb16224f74310711e0507dc7f451baea10cfdc9559a99ba960a9300312905f712cc421568f4ba3ad7a25c8c493abe282abf27
+ languageName: node
+ linkType: hard
+
+"@date-io/dayjs@npm:^2.15.0":
+ version: 2.17.0
+ resolution: "@date-io/dayjs@npm:2.17.0"
+ dependencies:
+ "@date-io/core": "npm:^2.17.0"
+ peerDependencies:
+ dayjs: ^1.8.17
+ peerDependenciesMeta:
+ dayjs:
+ optional: true
+ checksum: 40647a8e62114c021c18b56a63c4517df3b8c94c6fc82099f63600d4b0cbc0c8e959bbf62396d3ebaa680341ea26ef220fba048c197651dada2f4b0ded012d72
+ languageName: node
+ linkType: hard
+
+"@date-io/luxon@npm:^2.15.0":
+ version: 2.17.0
+ resolution: "@date-io/luxon@npm:2.17.0"
+ dependencies:
+ "@date-io/core": "npm:^2.17.0"
+ peerDependencies:
+ luxon: ^1.21.3 || ^2.x || ^3.x
+ peerDependenciesMeta:
+ luxon:
+ optional: true
+ checksum: 9e5954dc803d599e81d498517b8002e8e4203cb614d185c089360f3c76bf2d22807f430ac5bf584eeaa5e67d4ae8079191a494e2cf93fed5eb92d36e25f53ad4
+ languageName: node
+ linkType: hard
+
+"@date-io/moment@npm:^2.15.0":
+ version: 2.17.0
+ resolution: "@date-io/moment@npm:2.17.0"
+ dependencies:
+ "@date-io/core": "npm:^2.17.0"
+ peerDependencies:
+ moment: ^2.24.0
+ peerDependenciesMeta:
+ moment:
+ optional: true
+ checksum: 6e01c842ae06665c5c4816256610cfe27f60a450a579fe77f3a339f02b6f6f48b1762e58ddfb82a710e707da2207d62783672e48115a58fe7d30c5c01b5a7a1d
+ languageName: node
+ linkType: hard
+
"@discoveryjs/json-ext@npm:^0.5.0":
version: 0.5.7
resolution: "@discoveryjs/json-ext@npm:0.5.7"
@@ -2201,7 +2273,7 @@ __metadata:
languageName: node
linkType: hard
-"@mui/base@npm:5.0.0-beta.23, @mui/base@npm:^5.0.0-beta.22":
+"@mui/base@npm:5.0.0-beta.23":
version: 5.0.0-beta.23
resolution: "@mui/base@npm:5.0.0-beta.23"
dependencies:
@@ -2357,12 +2429,12 @@ __metadata:
languageName: node
linkType: hard
-"@mui/utils@npm:^5.14.16":
- version: 5.14.16
- resolution: "@mui/utils@npm:5.14.16"
+"@mui/utils@npm:^5.10.3":
+ version: 5.15.3
+ resolution: "@mui/utils@npm:5.15.3"
dependencies:
- "@babel/runtime": "npm:^7.23.2"
- "@types/prop-types": "npm:^15.7.9"
+ "@babel/runtime": "npm:^7.23.6"
+ "@types/prop-types": "npm:^15.7.11"
prop-types: "npm:^15.8.1"
react-is: "npm:^18.2.0"
peerDependencies:
@@ -2371,7 +2443,7 @@ __metadata:
peerDependenciesMeta:
"@types/react":
optional: true
- checksum: 02eb4550ba2ab30f98934a108dec4cc97f040b1c1d9a44d6adf7162286169fd7bf224a85625ed0b3feec27fdf7033bd1d3bb2225a8dd93ffcbd160090d288ef5
+ checksum: c4d66e34332f448527c6dea66a7011f95dc230ccaf5a3ee898a6fd69b77a3584af1fd644d095dc7edb2d480e5c050db06f9b9ec9dea3bc5091a80cf8b676f709
languageName: node
linkType: hard
@@ -2393,31 +2465,33 @@ __metadata:
languageName: node
linkType: hard
-"@mui/x-date-pickers@npm:^6.18.0":
- version: 6.18.0
- resolution: "@mui/x-date-pickers@npm:6.18.0"
+"@mui/x-date-pickers@npm:^5.0.20":
+ version: 5.0.20
+ resolution: "@mui/x-date-pickers@npm:5.0.20"
dependencies:
- "@babel/runtime": "npm:^7.23.2"
- "@mui/base": "npm:^5.0.0-beta.22"
- "@mui/utils": "npm:^5.14.16"
- "@types/react-transition-group": "npm:^4.4.8"
- clsx: "npm:^2.0.0"
- prop-types: "npm:^15.8.1"
+ "@babel/runtime": "npm:^7.18.9"
+ "@date-io/core": "npm:^2.15.0"
+ "@date-io/date-fns": "npm:^2.15.0"
+ "@date-io/dayjs": "npm:^2.15.0"
+ "@date-io/luxon": "npm:^2.15.0"
+ "@date-io/moment": "npm:^2.15.0"
+ "@mui/utils": "npm:^5.10.3"
+ "@types/react-transition-group": "npm:^4.4.5"
+ clsx: "npm:^1.2.1"
+ prop-types: "npm:^15.7.2"
react-transition-group: "npm:^4.4.5"
+ rifm: "npm:^0.12.1"
peerDependencies:
"@emotion/react": ^11.9.0
"@emotion/styled": ^11.8.1
- "@mui/material": ^5.8.6
- "@mui/system": ^5.8.0
+ "@mui/material": ^5.4.1
+ "@mui/system": ^5.4.1
date-fns: ^2.25.0
- date-fns-jalali: ^2.13.0-0
dayjs: ^1.10.7
- luxon: ^3.0.2
- moment: ^2.29.4
- moment-hijri: ^2.1.2
- moment-jalaali: ^0.7.4 || ^0.8.0 || ^0.9.0 || ^0.10.0
- react: ^17.0.0 || ^18.0.0
- react-dom: ^17.0.0 || ^18.0.0
+ luxon: ^1.28.0 || ^2.0.0 || ^3.0.0
+ moment: ^2.29.1
+ react: ^17.0.2 || ^18.0.0
+ react-dom: ^17.0.2 || ^18.0.0
peerDependenciesMeta:
"@emotion/react":
optional: true
@@ -2425,19 +2499,13 @@ __metadata:
optional: true
date-fns:
optional: true
- date-fns-jalali:
- optional: true
dayjs:
optional: true
luxon:
optional: true
moment:
optional: true
- moment-hijri:
- optional: true
- moment-jalaali:
- optional: true
- checksum: a33a94563d994fb9b1c5b76138d02d692918b2a0930b7d6e7ab41a52a28f96a58857e69e61c6bfac3edaa041a0fd63e5c87a98b82e1c7fa1a6149e450538ff2f
+ checksum: 7ab0fdcdae805292635e416f978ad14d301df0cab9058d9bca43fb4f990e1f87722dbeafa6ce97d5e1e55e0291c44fa65c7d2360cdb7e791ba7249e0d586953f
languageName: node
linkType: hard
@@ -2547,7 +2615,7 @@ __metadata:
"@mui/icons-material": "npm:^5.14.16"
"@mui/material": "npm:^5.14.17"
"@mui/system": "npm:^5.14.17"
- "@mui/x-date-pickers": "npm:^6.18.0"
+ "@mui/x-date-pickers": "npm:^5.0.20"
"@reduxjs/toolkit": "npm:^1.9.7"
"@testing-library/cypress": "npm:^10.0.1"
"@testing-library/dom": "npm:^9.3.3"
@@ -3196,6 +3264,13 @@ __metadata:
languageName: node
linkType: hard
+"@types/prop-types@npm:^15.7.11":
+ version: 15.7.11
+ resolution: "@types/prop-types@npm:15.7.11"
+ checksum: 7519ff11d06fbf6b275029fe03fff9ec377b4cb6e864cac34d87d7146c7f5a7560fd164bdc1d2dbe00b60c43713631251af1fd3d34d46c69cd354602bc0c7c54
+ languageName: node
+ linkType: hard
+
"@types/qs@npm:*":
version: 6.9.9
resolution: "@types/qs@npm:6.9.9"
@@ -3249,6 +3324,15 @@ __metadata:
languageName: node
linkType: hard
+"@types/react-transition-group@npm:^4.4.5":
+ version: 4.4.10
+ resolution: "@types/react-transition-group@npm:4.4.10"
+ dependencies:
+ "@types/react": "npm:*"
+ checksum: b429f3bd54d9aea6c0395943ce2dda6b76fb458e902365bd91fd99bf72064fb5d59e2b74e78d10f2871908501d350da63e230d81bda2b616c967cab8dc51bd16
+ languageName: node
+ linkType: hard
+
"@types/react-transition-group@npm:^4.4.8":
version: 4.4.8
resolution: "@types/react-transition-group@npm:4.4.8"
@@ -4921,6 +5005,13 @@ __metadata:
languageName: node
linkType: hard
+"clsx@npm:^1.2.1":
+ version: 1.2.1
+ resolution: "clsx@npm:1.2.1"
+ checksum: 5ded6f61f15f1fa0350e691ccec43a28b12fb8e64c8e94715f2a937bc3722d4c3ed41d6e945c971fc4dcc2a7213a43323beaf2e1c28654af63ba70c9968a8643
+ languageName: node
+ linkType: hard
+
"clsx@npm:^2.0.0":
version: 2.0.0
resolution: "clsx@npm:2.0.0"
@@ -10688,7 +10779,7 @@ __metadata:
languageName: node
linkType: hard
-"prop-types@npm:^15.6.2, prop-types@npm:^15.8.1":
+"prop-types@npm:^15.6.2, prop-types@npm:^15.7.2, prop-types@npm:^15.8.1":
version: 15.8.1
resolution: "prop-types@npm:15.8.1"
dependencies:
@@ -11359,6 +11450,15 @@ __metadata:
languageName: node
linkType: hard
+"rifm@npm:^0.12.1":
+ version: 0.12.1
+ resolution: "rifm@npm:0.12.1"
+ peerDependencies:
+ react: ">=16.8"
+ checksum: 292ed0f06148162ac3ea3c95d167b765f214ac314be16e480ac7d5d65a20a171c7b642f18a18aeff492fffde1934f344fd93b919fbd35d5bdcb1eccd291cd37d
+ languageName: node
+ linkType: hard
+
"rimraf@npm:^3.0.0, rimraf@npm:^3.0.2":
version: 3.0.2
resolution: "rimraf@npm:3.0.2"