Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade dependencies & pnpm #785

Merged
merged 18 commits into from
Sep 19, 2022
Prev Previous commit
Next Next commit
Fix missing dependency
  • Loading branch information
cond0r committed Jul 13, 2022
commit 2c7f65e818ced7f64f8e196d893210465b1e1c2f
3 changes: 2 additions & 1 deletion packages/ordercloud/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@
"@vercel/fetch": "^6.2.0",
"stripe": "^8.197.0",
"lodash.debounce": "^4.0.8",
"node-fetch": "^2.6.7"
"node-fetch": "^2.6.7",
"cookie": "^0.4.1"
},
"peerDependencies": {
"next": "^12",
Expand Down
2 changes: 1 addition & 1 deletion site/lib/hooks/useUserAvatar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const useUserAvatar = (name = 'userAvatar') => {
localStorage.setItem(name, value)
setUserAvatar(value)
}
}, [])
}, [name, setUserAvatar, userAvatar])

return {
userAvatar,
Expand Down