diff --git a/package-lock.json b/package-lock.json index 6aba1f15..ff2c9e47 100644 --- a/package-lock.json +++ b/package-lock.json @@ -25,6 +25,7 @@ "react-icons": "^5.2.1", "react-quill": "^2.0.0", "react-spinners": "^0.14.1", + "react-toastify": "^10.0.5", "sanitize-html": "^2.13.0", "sharp": "^0.33.4", "use-debounce": "^10.0.1", @@ -1654,6 +1655,14 @@ "node": ">=0.8" } }, + "node_modules/clsx": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.1.tgz", + "integrity": "sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==", + "engines": { + "node": ">=6" + } + }, "node_modules/color": { "version": "4.2.3", "resolved": "https://registry.npmjs.org/color/-/color-4.2.3.tgz", @@ -4823,6 +4832,18 @@ "react-dom": "^16.0.0 || ^17.0.0 || ^18.0.0" } }, + "node_modules/react-toastify": { + "version": "10.0.5", + "resolved": "https://registry.npmjs.org/react-toastify/-/react-toastify-10.0.5.tgz", + "integrity": "sha512-mNKt2jBXJg4O7pSdbNUfDdTsK9FIdikfsIE/yUCxbAEXl4HMyJaivrVFcn3Elvt5xvCQYhUZm+hqTIu1UXM3Pw==", + "dependencies": { + "clsx": "^2.1.0" + }, + "peerDependencies": { + "react": ">=18", + "react-dom": ">=18" + } + }, "node_modules/read-cache": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz", diff --git a/src/components/diary/write/DateRangeModal.tsx b/src/components/diary/write/DateRangeModal.tsx index be9dc98c..42ac2109 100644 --- a/src/components/diary/write/DateRangeModal.tsx +++ b/src/components/diary/write/DateRangeModal.tsx @@ -43,7 +43,7 @@ const DateRangeModal = ({ rangeColors={["#00B488"]} />