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

chore: Bump up jotai 2.10.1 #10849

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/aptos/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"@vanilla-extract/recipes": "^0.5.0",
"bignumber.js": "^9.0.0",
"dayjs": "^1.11.10",
"jotai": "^2.4.3",
"jotai": "catalog:",
"lodash": "^4.17.21",
"next": "catalog:",
"next-seo": "^5.15.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/bridge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"@wagmi/core": "^0.10.11",
"@wormhole-foundation/wormhole-connect": "0.1.7",
"ethers": "^5.0.0",
"jotai": "^2.4.3",
"jotai": "catalog:",
"lodash": "^4.17.21",
"next": "catalog:",
"next-themes": "^0.2.1",
Expand Down
2 changes: 1 addition & 1 deletion apps/gamification/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"easymde": "2.16.1",
"graphql": "^16.8.1",
"graphql-request": "5.0.0",
"jotai": "^2.4.3",
"jotai": "catalog:",
"js-cookie": "^3.0.5",
"lodash": "^4.17.21",
"next": "catalog:",
Expand Down
2 changes: 1 addition & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"fast-json-stable-stringify": "^2.1.0",
"graphql": "^16.8.1",
"graphql-request": "5.0.0",
"jotai": "^2.4.3",
"jotai": "catalog:",
"js-cookie": "^3.0.1",
"lightweight-charts": "^4.0.1",
"local-storage": "^2.0.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/hooks/useUserAcknowledgement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useAccount } from 'wagmi'
export function useUserAcknowledgement(id: string) {
const { address } = useAccount()
const atom = useMemo(
() => atomWithStorage(`pcs_user_ack_${id}_${address}`, false, undefined, { unstable_getOnInit: true }),
() => atomWithStorage(`pcs_user_ack_${id}_${address}`, false, undefined, { getOnInit: true }),
[id, address],
)
const [userACK, setUserACK] = useAtom(atom)
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/hooks/useZksyncAirDropAutoPopup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ const zksyncAutoPopup = atomWithStorage<{ [account: string]: boolean }>(
'pcs:zksync-airdrop-auto-popup-v2',
{},
undefined,
{ unstable_getOnInit: true },
{ getOnInit: true },
)

const useAutoPopup = (): [boolean, (value: boolean) => void] => {
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/pages/usdv.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import styled from 'styled-components'

import DisclaimerModal from 'components/DisclaimerModal'

const usdvDisclaimer = atomWithStorage('pcs:usdv-disclaimer-accept', false, undefined, { unstable_getOnInit: true })
const usdvDisclaimer = atomWithStorage('pcs:usdv-disclaimer-accept', false, undefined, { getOnInit: true })

let initialized = false

Expand Down
4 changes: 2 additions & 2 deletions packages/token-lists/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
},
"peerDependencies": {
"@reduxjs/toolkit": "^1.9.1",
"jotai": "^2.4.3",
"jotai": "catalog:",
"localforage": "^1.10.0",
"react": "^18.2.0"
},
"devDependencies": {
"@pancakeswap/utils": "workspace:*",
"@reduxjs/toolkit": "^1.9.1",
"@types/react": "^18.2.21",
"jotai": "^2.4.3",
"jotai": "catalog:",
"localforage": "^1.10.0",
"react": "^18.2.0",
"tsup": "^6.7.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/ui-wallets/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"@types/react": "^18.2.21",
"swiper": "*",
"react-device-detect": "^2.1.2",
"jotai": "^2.2.2"
"jotai": "^2.10.1"
}
}
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@pancakeswap/swap-sdk-core": "workspace:*",
"@types/lodash": "^4.14.168",
"bignumber.js": "^9.0.0",
"jotai": "^2.4.3",
"jotai": "catalog:",
"styled-components": "6.0.7",
"viem": "catalog:"
},
Expand Down
145 changes: 110 additions & 35 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions pnpm-workspace.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ catalog:
viem: ^2.21.22
wagmi: ^2.12.17
next: 14.2.14
jotai: ^2.10.1
Loading