diff --git a/client/package.json b/client/package.json index bc558ed5..21d9e5de 100644 --- a/client/package.json +++ b/client/package.json @@ -29,10 +29,10 @@ "common": "0.0.1", "i": "^0.3.7", "react": "^16.13.1", - "react-circular-progressbar": "^2.0.3", - "react-google-login": "^5.1.21", "react-dom": "^16.13.1", "react-router-dom": "^5.1.2", + "react-circular-progressbar": "^2.0.3", + "react-google-login": "^5.1.21", "react-toastify": "^7.0.3" }, "devDependencies": { diff --git a/client/src/modules/Course/Components/Course.tsx b/client/src/modules/Course/Components/Course.tsx index 3a06f2d8..cee189fe 100644 --- a/client/src/modules/Course/Components/Course.tsx +++ b/client/src/modules/Course/Components/Course.tsx @@ -118,7 +118,6 @@ export const Course = () => { clearSessionReview() if (response.status === 200) { - toast.success( 'Thanks for reviewing! New reviews are updated every 24 hours.' ) diff --git a/client/src/modules/Course/Components/PreviewReviewCard.tsx b/client/src/modules/Course/Components/PreviewReviewCard.tsx index 70f35cc4..1fb626f5 100644 --- a/client/src/modules/Course/Components/PreviewReviewCard.tsx +++ b/client/src/modules/Course/Components/PreviewReviewCard.tsx @@ -41,8 +41,6 @@ export default function PreviewReviewCard({ }: ReviewProps): JSX.Element { const { isLoggedIn } = useAuthOptionalLogin() const pending = isPreview && isProfile - - const [liked, setLiked] = useState(false) const _review = review diff --git a/package.json b/package.json index b08fe20a..889d89a4 100644 --- a/package.json +++ b/package.json @@ -32,4 +32,4 @@ "eslint-plugin-react-hooks": "^4.0.0", "typescript": "^5.4.5" } -} +} \ No newline at end of file diff --git a/server/src/admin/index.ts b/server/src/admin/index.ts index 8bd8add6..f75ff898 100644 --- a/server/src/admin/index.ts +++ b/server/src/admin/index.ts @@ -1 +1 @@ -export { adminRouter } from "./admin.router"; +export { adminRouter } from "./admin.router"; \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 199100bb..f23f6d64 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2588,11 +2588,11 @@ "@types/node" "*" "@typescript-eslint/eslint-plugin@^2.31.0": - version "2.31.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.31.0.tgz#942c921fec5e200b79593c71fafb1e3f57aa2e36" - integrity sha512-iIC0Pb8qDaoit+m80Ln/aaeu9zKQdOLF4SHcGLarSeY1gurW6aU4JsOPMjKQwXlw70MvWKZQc6S2NamA8SJ/gg== + version "2.34.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-2.34.0.tgz#6f8ce8a46c7dea4a6f1d171d2bb8fbae6dac2be9" + integrity sha512-4zY3Z88rEE99+CNvTbXSyovv2z9PNOVffTWD2W8QF5s2prBQtwN2zadqERcrHpcR7O/+KMI3fcTAmUUhK/iQcQ== dependencies: - "@typescript-eslint/experimental-utils" "2.31.0" + "@typescript-eslint/experimental-utils" "2.34.0" functional-red-black-tree "^1.0.1" regexpp "^3.0.0" tsutils "^3.17.1" @@ -2611,13 +2611,13 @@ semver "^7.3.5" tsutils "^3.21.0" -"@typescript-eslint/experimental-utils@2.31.0": - version "2.31.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.31.0.tgz#a9ec514bf7fd5e5e82bc10dcb6a86d58baae9508" - integrity sha512-MI6IWkutLYQYTQgZ48IVnRXmLR/0Q6oAyJgiOror74arUMh7EWjJkADfirZhRsUMHeLJ85U2iySDwHTSnNi9vA== +"@typescript-eslint/experimental-utils@2.34.0": + version "2.34.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-2.34.0.tgz#d3524b644cdb40eebceca67f8cf3e4cc9c8f980f" + integrity sha512-eS6FTkq+wuMJ+sgtuNTtcqavWXqsflWcfBnlYhg/nS4aZ1leewkXGbvBhaapn1q6qf4M71bsR1tez5JTRMuqwA== dependencies: "@types/json-schema" "^7.0.3" - "@typescript-eslint/typescript-estree" "2.31.0" + "@typescript-eslint/typescript-estree" "2.34.0" eslint-scope "^5.0.0" eslint-utils "^2.0.0" @@ -2696,17 +2696,17 @@ resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-6.21.0.tgz#205724c5123a8fef7ecd195075fa6e85bac3436d" integrity sha512-1kFmZ1rOm5epu9NZEZm1kckCDGj5UJEf7P1kliH4LKu/RkwpsfqqGmY2OOcUs18lSlQBKLDYBOGxRVtrMN5lpg== -"@typescript-eslint/typescript-estree@2.31.0": - version "2.31.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.31.0.tgz#ac536c2d46672aa1f27ba0ec2140d53670635cfd" - integrity sha512-vxW149bXFXXuBrAak0eKHOzbcu9cvi6iNcJDzEtOkRwGHxJG15chiAQAwhLOsk+86p9GTr/TziYvw+H9kMaIgA== +"@typescript-eslint/typescript-estree@2.34.0": + version "2.34.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-2.34.0.tgz#14aeb6353b39ef0732cc7f1b8285294937cf37d5" + integrity sha512-OMAr+nJWKdlVM9LOqCqh3pQQPwxHAN7Du8DR6dmwCrAmxtiXQnhHJ6tBNtf+cggqfo51SG/FCwnKhXCIM7hnVg== dependencies: debug "^4.1.1" eslint-visitor-keys "^1.1.0" glob "^7.1.6" is-glob "^4.0.1" lodash "^4.17.15" - semver "^6.3.0" + semver "^7.3.2" tsutils "^3.17.1" "@typescript-eslint/typescript-estree@3.10.1": @@ -12274,12 +12274,7 @@ regexp.prototype.flags@^1.5.0, regexp.prototype.flags@^1.5.2: es-errors "^1.3.0" set-function-name "^2.0.1" -regexpp@^3.0.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.1.0.tgz#206d0ad0a5648cffbdb8ae46438f3dc51c9f78e2" - integrity sha512-ZOIzd8yVsQQA7j8GCSlPGXwg5PfmA1mrq0JP4nGhh54LaKN3xdai/vHUDu74pKwV8OxseMS65u2NImosQcSD0Q== - -regexpp@^3.1.0: +regexpp@^3.0.0, regexpp@^3.1.0: version "3.2.0" resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2" integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==