Skip to content

Commit

Permalink
Merge pull request #57 from DSM-Repo/refactor
Browse files Browse the repository at this point in the history
Refactor
  • Loading branch information
six-standard authored Sep 9, 2024
2 parents 6473af0 + 4f4e6be commit f55040e
Show file tree
Hide file tree
Showing 67 changed files with 92,926 additions and 53 deletions.
10 changes: 5 additions & 5 deletions configs/util-config/src/hooks/useAuth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,11 @@ export const useAuth = () => {
};

const delToken = () => {
cookie.remove("access_token");
cookie.remove("access_expires");
cookie.remove("refresh_token");
cookie.remove("refresh_expires");
cookie.remove("role");
cookie.remove("access_token", option);
cookie.remove("access_expires", option);
cookie.remove("refresh_token", option);
cookie.remove("refresh_expires", option);
cookie.remove("role", option);
};

return { setToken, getToken, delToken, getRole };
Expand Down
42 changes: 21 additions & 21 deletions packages/main/.vite/deps/_metadata.json
Original file line number Diff line number Diff line change
@@ -1,109 +1,109 @@
{
"hash": "3f10536a",
"hash": "1baf9324",
"configHash": "7e646c1b",
"lockfileHash": "3940062e",
"browserHash": "4c417c56",
"lockfileHash": "7236fc72",
"browserHash": "9f39fc90",
"optimized": {
"react": {
"src": "../../../../.yarn/cache/react-npm-18.3.1-af38f3c1ae-283e8c5efc.zip/node_modules/react/index.js",
"file": "react.js",
"fileHash": "00499ed0",
"fileHash": "52eb56e7",
"needsInterop": true
},
"react/jsx-dev-runtime": {
"src": "../../../../.yarn/cache/react-npm-18.3.1-af38f3c1ae-283e8c5efc.zip/node_modules/react/jsx-dev-runtime.js",
"file": "react_jsx-dev-runtime.js",
"fileHash": "e05cbe1a",
"fileHash": "be6fc6cd",
"needsInterop": true
},
"react/jsx-runtime": {
"src": "../../../../.yarn/cache/react-npm-18.3.1-af38f3c1ae-283e8c5efc.zip/node_modules/react/jsx-runtime.js",
"file": "react_jsx-runtime.js",
"fileHash": "f41fa10a",
"fileHash": "1856523d",
"needsInterop": true
},
"@iconify/react": {
"src": "../../../../.yarn/__virtual__/@iconify-react-virtual-c9b7d4ef94/0/cache/@iconify-react-npm-5.0.2-c732ef4098-97f4222a13.zip/node_modules/@iconify/react/dist/iconify.js",
"file": "@iconify_react.js",
"fileHash": "8d5528a9",
"fileHash": "c595d158",
"needsInterop": false
},
"@tanstack/react-query": {
"src": "../../../../.yarn/__virtual__/@tanstack-react-query-virtual-2967c557ae/0/cache/@tanstack-react-query-npm-5.52.0-2024f6d138-90e46fe0de.zip/node_modules/@tanstack/react-query/build/modern/index.js",
"file": "@tanstack_react-query.js",
"fileHash": "8f25da16",
"fileHash": "502c93d4",
"needsInterop": false
},
"axios": {
"src": "../../../../.yarn/cache/axios-npm-1.7.4-cc1c89ddba-5ea1a93140.zip/node_modules/axios/index.js",
"file": "axios.js",
"fileHash": "05c1c8ff",
"fileHash": "778889ce",
"needsInterop": false
},
"dayjs": {
"src": "../../../../.yarn/cache/dayjs-npm-1.11.12-ce23245b6e-9673d37f3f.zip/node_modules/dayjs/dayjs.min.js",
"file": "dayjs.js",
"fileHash": "4f0aa456",
"fileHash": "0a2c86d9",
"needsInterop": true
},
"file-saver": {
"src": "../../../../.yarn/cache/file-saver-npm-2.0.5-2c3bc40d53-0a361f6837.zip/node_modules/file-saver/dist/FileSaver.min.js",
"file": "file-saver.js",
"fileHash": "b9c55637",
"fileHash": "c3440636",
"needsInterop": true
},
"html2canvas": {
"src": "../../../../.yarn/cache/html2canvas-npm-1.4.1-fa13983145-6de86f7576.zip/node_modules/html2canvas/dist/html2canvas.esm.js",
"file": "html2canvas.js",
"fileHash": "d040ee0d",
"fileHash": "8f1941e6",
"needsInterop": false
},
"jspdf": {
"src": "../../../../.yarn/cache/jspdf-npm-2.5.1-ed2e81e851-dad15d4f53.zip/node_modules/jspdf/dist/jspdf.es.min.js",
"file": "jspdf.js",
"fileHash": "7899a79a",
"fileHash": "2a7d93cc",
"needsInterop": false
},
"react-cookie": {
"src": "../../../../.yarn/__virtual__/react-cookie-virtual-3efc9f970e/0/cache/react-cookie-npm-7.2.0-ca92e0b084-434e8d8a48.zip/node_modules/react-cookie/esm/index.mjs",
"file": "react-cookie.js",
"fileHash": "b1d5c417",
"fileHash": "c91ddd1b",
"needsInterop": false
},
"react-dom/client": {
"src": "../../../../.yarn/__virtual__/react-dom-virtual-d6ee84aa67/0/cache/react-dom-npm-18.3.1-a805663f38-a752496c19.zip/node_modules/react-dom/client.js",
"file": "react-dom_client.js",
"fileHash": "f87aac37",
"fileHash": "cdb3cf4f",
"needsInterop": true
},
"react-pdf": {
"src": "../../../../.yarn/__virtual__/react-pdf-virtual-328144c4cf/0/cache/react-pdf-npm-9.1.0-72756161be-24b30cc092.zip/node_modules/react-pdf/dist/esm/index.js",
"file": "react-pdf.js",
"fileHash": "f7204511",
"fileHash": "ab3c2577",
"needsInterop": false
},
"react-qr-code": {
"src": "../../../../.yarn/__virtual__/react-qr-code-virtual-252e00f18c/0/cache/react-qr-code-npm-2.0.15-669b395b3b-6a9d739186.zip/node_modules/react-qr-code/lib/index.js",
"file": "react-qr-code.js",
"fileHash": "56ff6ba4",
"fileHash": "a1d2e896",
"needsInterop": true
},
"react-router-dom": {
"src": "../../../../.yarn/__virtual__/react-router-dom-virtual-f915074df7/0/cache/react-router-dom-npm-6.26.1-7932358248-9d9d8ed54d.zip/node_modules/react-router-dom/dist/index.js",
"file": "react-router-dom.js",
"fileHash": "e63d9a10",
"fileHash": "83df47a9",
"needsInterop": false
},
"react-toastify": {
"src": "../../../../.yarn/__virtual__/react-toastify-virtual-545ad562bb/0/cache/react-toastify-npm-10.0.5-86b63c99fc-66c68ec3d6.zip/node_modules/react-toastify/dist/react-toastify.esm.mjs",
"src": "../../../../.yarn/__virtual__/react-toastify-virtual-9b32654ebb/0/cache/react-toastify-npm-10.0.5-86b63c99fc-66c68ec3d6.zip/node_modules/react-toastify/dist/react-toastify.esm.mjs",
"file": "react-toastify.js",
"fileHash": "b781039e",
"fileHash": "a9988864",
"needsInterop": false
},
"zustand": {
"src": "../../../../.yarn/__virtual__/zustand-virtual-c13320264d/0/cache/zustand-npm-4.5.5-678823f519-d04469d76b.zip/node_modules/zustand/esm/index.mjs",
"file": "zustand.js",
"fileHash": "eaa45ebe",
"fileHash": "fa3f7273",
"needsInterop": false
}
},
Expand Down
2 changes: 1 addition & 1 deletion packages/main/.vite/deps/react-toastify.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f55040e

Please sign in to comment.