diff --git a/.pnp.cjs b/.pnp.cjs index 34b8f9f9..716b706d 100644 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -9795,8 +9795,8 @@ const RAW_RUNTIME_STATE = ["ignore", "npm:5.3.1"],\ ["natural-compare", "npm:1.4.0"],\ ["semver", "npm:7.6.0"],\ - ["ts-api-utils", "virtual:9e52a2a966956646d3c49d0abd00d4ca1065add04569f233024ea6cf0b41f140c586f082d904cd4eeb45b5e9844df44cbce0d566e12001d20536fb21eac9004a#npm:1.2.1"],\ - ["typescript", "patch:typescript@npm%3A5.4.3#optional!builtin::version=5.4.3&hash=d69c25"]\ + ["ts-api-utils", "virtual:d3e082fb1396bdaeab3b9577e70f5dff173724aa6135947a02e6e813a434038e764be9031b4f622102ffc26b754e5b1cdc364affe7420b857caf6bd206af6b1e#npm:1.2.1"],\ + ["typescript", "patch:typescript@npm%3A5.0.3#optional!builtin::version=5.0.3&hash=b5f058"]\ ],\ "packagePeers": [\ "@types/eslint",\ @@ -9880,7 +9880,7 @@ const RAW_RUNTIME_STATE = ["@typescript-eslint/visitor-keys", "npm:7.5.0"],\ ["debug", "virtual:1ff4b5f90832ba0a9c93ba1223af226e44ba70c1126a3740d93562b97bc36544e896a5e95908196f7458713e6a6089a34bfc67362fc6df7fa093bd06c878be47#npm:4.3.4"],\ ["eslint", "npm:8.57.0"],\ - ["typescript", "patch:typescript@npm%3A5.4.3#optional!builtin::version=5.4.3&hash=d69c25"]\ + ["typescript", "patch:typescript@npm%3A5.0.3#optional!builtin::version=5.0.3&hash=b5f058"]\ ],\ "packagePeers": [\ "@types/eslint",\ @@ -9936,8 +9936,8 @@ const RAW_RUNTIME_STATE = ["@typescript-eslint/utils", "virtual:9e52a2a966956646d3c49d0abd00d4ca1065add04569f233024ea6cf0b41f140c586f082d904cd4eeb45b5e9844df44cbce0d566e12001d20536fb21eac9004a#npm:7.5.0"],\ ["debug", "virtual:1ff4b5f90832ba0a9c93ba1223af226e44ba70c1126a3740d93562b97bc36544e896a5e95908196f7458713e6a6089a34bfc67362fc6df7fa093bd06c878be47#npm:4.3.4"],\ ["eslint", "npm:8.57.0"],\ - ["ts-api-utils", "virtual:9e52a2a966956646d3c49d0abd00d4ca1065add04569f233024ea6cf0b41f140c586f082d904cd4eeb45b5e9844df44cbce0d566e12001d20536fb21eac9004a#npm:1.2.1"],\ - ["typescript", "patch:typescript@npm%3A5.4.3#optional!builtin::version=5.4.3&hash=d69c25"]\ + ["ts-api-utils", "virtual:d3e082fb1396bdaeab3b9577e70f5dff173724aa6135947a02e6e813a434038e764be9031b4f622102ffc26b754e5b1cdc364affe7420b857caf6bd206af6b1e#npm:1.2.1"],\ + ["typescript", "patch:typescript@npm%3A5.0.3#optional!builtin::version=5.0.3&hash=b5f058"]\ ],\ "packagePeers": [\ "@types/eslint",\ @@ -10012,8 +10012,8 @@ const RAW_RUNTIME_STATE = ["is-glob", "npm:4.0.3"],\ ["minimatch", "npm:9.0.3"],\ ["semver", "npm:7.6.0"],\ - ["ts-api-utils", "virtual:9e52a2a966956646d3c49d0abd00d4ca1065add04569f233024ea6cf0b41f140c586f082d904cd4eeb45b5e9844df44cbce0d566e12001d20536fb21eac9004a#npm:1.2.1"],\ - ["typescript", "patch:typescript@npm%3A5.4.3#optional!builtin::version=5.4.3&hash=d69c25"]\ + ["ts-api-utils", "virtual:d3e082fb1396bdaeab3b9577e70f5dff173724aa6135947a02e6e813a434038e764be9031b4f622102ffc26b754e5b1cdc364affe7420b857caf6bd206af6b1e#npm:1.2.1"],\ + ["typescript", "patch:typescript@npm%3A5.0.3#optional!builtin::version=5.0.3&hash=b5f058"]\ ],\ "packagePeers": [\ "@types/typescript",\ @@ -10811,7 +10811,7 @@ const RAW_RUNTIME_STATE = ["react-outside-click-handler", "virtual:9845906954fdbefbb879db24fa8772d77a945dca59f459806df47a5b67245d4bc6502880b373cca7201062c81bea9f13f699f52de2004c037e79dbdbd5d97fb3#npm:1.3.0"],\ ["react-router-dom", "virtual:9845906954fdbefbb879db24fa8772d77a945dca59f459806df47a5b67245d4bc6502880b373cca7201062c81bea9f13f699f52de2004c037e79dbdbd5d97fb3#npm:6.22.3"],\ ["styled-components", "virtual:9845906954fdbefbb879db24fa8772d77a945dca59f459806df47a5b67245d4bc6502880b373cca7201062c81bea9f13f699f52de2004c037e79dbdbd5d97fb3#npm:6.1.8"],\ - ["typescript", "patch:typescript@npm%3A5.4.3#optional!builtin::version=5.4.3&hash=d69c25"],\ + ["typescript", "patch:typescript@npm%3A5.0.3#optional!builtin::version=5.0.3&hash=b5f058"],\ ["vite", "virtual:9845906954fdbefbb879db24fa8772d77a945dca59f459806df47a5b67245d4bc6502880b373cca7201062c81bea9f13f699f52de2004c037e79dbdbd5d97fb3#npm:5.2.7"],\ ["vite-tsconfig-paths", "virtual:9845906954fdbefbb879db24fa8772d77a945dca59f459806df47a5b67245d4bc6502880b373cca7201062c81bea9f13f699f52de2004c037e79dbdbd5d97fb3#npm:4.3.2"],\ ["zustand", "virtual:9845906954fdbefbb879db24fa8772d77a945dca59f459806df47a5b67245d4bc6502880b373cca7201062c81bea9f13f699f52de2004c037e79dbdbd5d97fb3#npm:4.5.2"]\ @@ -24817,19 +24817,6 @@ const RAW_RUNTIME_STATE = ],\ "linkType": "HARD"\ }],\ - ["virtual:9e52a2a966956646d3c49d0abd00d4ca1065add04569f233024ea6cf0b41f140c586f082d904cd4eeb45b5e9844df44cbce0d566e12001d20536fb21eac9004a#npm:1.2.1", {\ - "packageLocation": "./.yarn/__virtual__/ts-api-utils-virtual-bb20bbadce/0/cache/ts-api-utils-npm-1.2.1-edd799bde4-6d7f60fd01.zip/node_modules/ts-api-utils/",\ - "packageDependencies": [\ - ["ts-api-utils", "virtual:9e52a2a966956646d3c49d0abd00d4ca1065add04569f233024ea6cf0b41f140c586f082d904cd4eeb45b5e9844df44cbce0d566e12001d20536fb21eac9004a#npm:1.2.1"],\ - ["@types/typescript", null],\ - ["typescript", "patch:typescript@npm%3A5.4.3#optional!builtin::version=5.4.3&hash=d69c25"]\ - ],\ - "packagePeers": [\ - "@types/typescript",\ - "typescript"\ - ],\ - "linkType": "HARD"\ - }],\ ["virtual:d3e082fb1396bdaeab3b9577e70f5dff173724aa6135947a02e6e813a434038e764be9031b4f622102ffc26b754e5b1cdc364affe7420b857caf6bd206af6b1e#npm:1.2.1", {\ "packageLocation": "./.yarn/__virtual__/ts-api-utils-virtual-8440b92e94/0/cache/ts-api-utils-npm-1.2.1-edd799bde4-6d7f60fd01.zip/node_modules/ts-api-utils/",\ "packageDependencies": [\ @@ -25182,13 +25169,6 @@ const RAW_RUNTIME_STATE = ["typescript", "patch:typescript@npm%3A5.4.2#optional!builtin::version=5.4.2&hash=d69c25"]\ ],\ "linkType": "HARD"\ - }],\ - ["patch:typescript@npm%3A5.4.3#optional!builtin::version=5.4.3&hash=d69c25", {\ - "packageLocation": "./.yarn/cache/typescript-patch-3bb5ebae8d-3abea47579.zip/node_modules/typescript/",\ - "packageDependencies": [\ - ["typescript", "patch:typescript@npm%3A5.4.3#optional!builtin::version=5.4.3&hash=d69c25"]\ - ],\ - "linkType": "HARD"\ }]\ ]],\ ["ufo", [\ diff --git a/.yarn/cache/typescript-npm-5.4.3-702063d215-de4c69f49a.zip b/.yarn/cache/typescript-npm-5.4.3-702063d215-de4c69f49a.zip deleted file mode 100644 index 5a815ac9..00000000 Binary files a/.yarn/cache/typescript-npm-5.4.3-702063d215-de4c69f49a.zip and /dev/null differ diff --git a/.yarn/cache/typescript-patch-3bb5ebae8d-3abea47579.zip b/.yarn/cache/typescript-patch-3bb5ebae8d-3abea47579.zip deleted file mode 100644 index 76b7fbdd..00000000 Binary files a/.yarn/cache/typescript-patch-3bb5ebae8d-3abea47579.zip and /dev/null differ diff --git a/apps/admin/package.json b/apps/admin/package.json index 6c787c07..648d258b 100644 --- a/apps/admin/package.json +++ b/apps/admin/package.json @@ -38,7 +38,7 @@ "eslint": "^8.57.0", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.6", - "typescript": "^5.2.2", + "typescript": "5.0.3", "vite": "^5.2.0", "vite-tsconfig-paths": "^4.3.2" } diff --git a/apps/admin/src/components/common/dateRangePicker.tsx b/apps/admin/src/components/common/dateRangePicker.tsx index ab005962..c5ca59e7 100644 --- a/apps/admin/src/components/common/dateRangePicker.tsx +++ b/apps/admin/src/components/common/dateRangePicker.tsx @@ -6,7 +6,6 @@ import { BigButton, Stack } from "@/components"; import { useEffect, useState } from "react"; import OutsideClickHandler from "react-outside-click-handler"; import { useDidMountEffect } from "@/hooks"; -import { useRecruitmentFilter } from "@/stores"; type PropsType = { startDate: string | null; diff --git a/apps/admin/src/components/company/row.tsx b/apps/admin/src/components/company/row.tsx index 3f2c6ddd..b786bfbc 100644 --- a/apps/admin/src/components/company/row.tsx +++ b/apps/admin/src/components/company/row.tsx @@ -28,7 +28,7 @@ export const CompanyRow = ({ data }: PropsType) => { } }; - const { openModal, closeModal } = useModal(); + const { openModal } = useModal(); return ( diff --git a/apps/policy/src/router.tsx b/apps/policy/src/router.tsx index 8285300c..2697bdd2 100644 --- a/apps/policy/src/router.tsx +++ b/apps/policy/src/router.tsx @@ -1,4 +1,3 @@ -import React from "react"; import { BrowserRouter, Route, Routes } from "react-router-dom"; import Policy from "./pages/policy"; diff --git a/yarn.lock b/yarn.lock index d20a4c12..5829de98 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7164,7 +7164,7 @@ __metadata: react-outside-click-handler: "npm:^1.3.0" react-router-dom: "npm:^6.22.3" styled-components: "npm:^6.1.8" - typescript: "npm:^5.2.2" + typescript: "npm:5.0.3" vite: "npm:^5.2.0" vite-tsconfig-paths: "npm:^4.3.2" zustand: "npm:^4.5.2" @@ -19335,16 +19335,6 @@ __metadata: languageName: node linkType: hard -"typescript@npm:^5.2.2": - version: 5.4.3 - resolution: "typescript@npm:5.4.3" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 10/de4c69f49a7ad4b1ea66a6dcc8b055ac34eb56af059a069d8988dd811c5e649be07e042e5bf573e8d0ac3ec2f30e6c999aa651cd09f6e9cbc6113749e8b6be20 - languageName: node - linkType: hard - "typescript@npm:^5.3.3": version: 5.4.2 resolution: "typescript@npm:5.4.2" @@ -19365,16 +19355,6 @@ __metadata: languageName: node linkType: hard -"typescript@patch:typescript@npm%3A^5.2.2#optional!builtin": - version: 5.4.3 - resolution: "typescript@patch:typescript@npm%3A5.4.3#optional!builtin::version=5.4.3&hash=d69c25" - bin: - tsc: bin/tsc - tsserver: bin/tsserver - checksum: 10/3abea475798fdf7ee46e75dafc50c85f30fd1e7061559ec2af61646f23d16c91742703f04f0ac55be52f58ca05c02f77404b7b94bbad16278c9a54c9eeb4f4ea - languageName: node - linkType: hard - "typescript@patch:typescript@npm%3A^5.3.3#optional!builtin": version: 5.4.2 resolution: "typescript@patch:typescript@npm%3A5.4.2#optional!builtin::version=5.4.2&hash=d69c25"