Skip to content

Commit

Permalink
CHORE: 🔧 @type/chrome package 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
bbung95 committed May 29, 2024
1 parent 3b58e4a commit 69c4f00
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,13 @@
"@tanstack/eslint-plugin-query": "^5.28.11",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^15.0.2",
"@types/chrome": "^0.0.268",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.3",
"@types/node": "^20",
"@types/qs": "^6.9.15",
"@types/react": "^18",
"@types/react-dom": "^18",
"@types/lodash": "^4.17.3",
"@typescript-eslint/eslint-plugin": "^7.7.0",
"@typescript-eslint/parser": "^7.7.0",
"chromatic": "^11.3.0",
Expand Down
24 changes: 24 additions & 0 deletions pnpm-lock.yaml

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

2 changes: 1 addition & 1 deletion src/app/oauth2/redirect/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const Redirect = () => {

alert(process.env.NEXT_PUBLIC_EXTENSION_ID);
// TODO: 이쪽 부분에서 extension <> web 로그인 통신 진행
chrome?.runtime?.sendMessage(process.env.NEXT_PUBLIC_EXTENSION_ID, {
chrome.runtime.sendMessage(process.env.NEXT_PUBLIC_EXTENSION_ID, {
isLogin: true,
accessToken: token,
});
Expand Down

0 comments on commit 69c4f00

Please sign in to comment.