Skip to content

Commit

Permalink
update dependencies (#429)
Browse files Browse the repository at this point in the history
  • Loading branch information
kingsleydon authored Sep 9, 2024
1 parent c5def4f commit ef487f1
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 17 deletions.
3 changes: 1 addition & 2 deletions apps/app/components/BasePool/DelegateCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ import {
import {toCurrency, toPercentage} from '@phala/lib'
import {polkadotAccountAtom} from '@phala/store'
import {useAtom} from 'jotai'
import NextLink from 'next/link'
import type {FC} from 'react'
import BasePoolChart from './Chart'
import DelegateInput from './DelegateInput'
Expand Down Expand Up @@ -112,14 +111,14 @@ const DelegateCard: FC<{
)}
<Stack width={{xs: 'auto', md: 150}} flex="1 0">
<Link
component={NextLink}
onClick={(e) => {
e.stopPropagation()
}}
color="inherit"
lineHeight={1.3}
variant="num3"
href={getPoolPath(chain, basePool.kind, basePool.id)}
target="_blank"
rel="noopener"
sx={{
textDecorationColor: alpha(theme.palette.text.primary, 0.4),
Expand Down
3 changes: 1 addition & 2 deletions apps/app/components/BasePool/FarmCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ import {
import {toCurrency, toPercentage} from '@phala/lib'
import Decimal from 'decimal.js'
import {useAtom} from 'jotai'
import NextLink from 'next/link'
import {type FC, useCallback, useMemo} from 'react'
import PromiseButton from '../PromiseButton'
import BasePoolChart from './Chart'
Expand Down Expand Up @@ -159,13 +158,13 @@ const FarmCard: FC<{
)}
<Box flex="1 0" width={108}>
<Link
component={NextLink}
onClick={(e) => {
e.stopPropagation()
}}
color="inherit"
variant="num2"
href={getPoolPath(chain, basePool.kind, basePool.id)}
target="_blank"
rel="noopener"
sx={{
textDecorationColor: alpha(theme.palette.text.primary, 0.4),
Expand Down
3 changes: 1 addition & 2 deletions apps/app/components/Delegation/HorizonCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ import {
} from '@mui/material'
import {toCurrency, toPercentage} from '@phala/lib'
import {useAtom} from 'jotai'
import NextLink from 'next/link'
import type {FC} from 'react'
import Identity from '../BasePool/Identity'
import WrapDecimal from '../WrapDecimal'
Expand Down Expand Up @@ -62,14 +61,14 @@ const HorizonCard: FC<{
</Box>
<Stack flex="1 0" width={130}>
<Link
component={NextLink}
lineHeight={1.3}
onClick={(e) => {
e.stopPropagation()
}}
color="inherit"
variant="num3"
href={getPoolPath(chain, basePool.kind, basePool.id)}
target="_blank"
rel="noopener"
sx={{
textDecorationColor: alpha(theme.palette.text.primary, 0.4),
Expand Down
3 changes: 1 addition & 2 deletions apps/app/components/Delegation/NftCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import {
import {toCurrency, toPercentage} from '@phala/lib'
import Decimal from 'decimal.js'
import {useAtom} from 'jotai'
import NextLink from 'next/link'
import type {FC} from 'react'
import Identity from '../BasePool/Identity'
import WrapDecimal from '../WrapDecimal'
Expand Down Expand Up @@ -101,14 +100,14 @@ const NftCard: FC<{
</Box>
<Stack flex="1 0">
<Link
component={NextLink}
lineHeight={1.2}
onClick={(e) => {
e.stopPropagation()
}}
color="inherit"
variant="num3"
href={getPoolPath(chain, basePool.kind, basePool.id)}
target="_blank"
rel="noopener"
sx={{
textDecorationColor: alpha(theme.palette.text.primary, 0.4),
Expand Down
14 changes: 7 additions & 7 deletions apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"@mui/lab": "5.0.0-alpha.173",
"@mui/material": "^5.16.7",
"@mui/material-nextjs": "^5.16.6",
"@mui/x-data-grid": "^7.15.0",
"@mui/x-data-grid": "^7.16.0",
"@phala/lib": "workspace:*",
"@phala/store": "workspace:*",
"@polkadot/api": "^12.4.2",
Expand All @@ -33,8 +33,8 @@
"@polkadot/util": "^13.0.2",
"@sentry/nextjs": "^8.28.0",
"@talismn/connect-wallets": "^1.2.5",
"@tanstack/react-query": "^5.53.3",
"@tanstack/react-query-devtools": "^5.54.0",
"@tanstack/react-query": "^5.55.2",
"@tanstack/react-query-devtools": "^5.55.2",
"ajv": "^8.17.1",
"date-fns": "^3.6.0",
"decimal.js": "^10.4.3",
Expand All @@ -44,20 +44,20 @@
"jotai": "^2.9.3",
"jotai-devtools": "^0.10.1",
"mutative": "^1.0.8",
"next": "^14.2.7",
"next": "^14.2.8",
"notistack": "^3.0.1",
"radash": "^12.1.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-intersection-observer": "^9.13.0",
"react-intersection-observer": "^9.13.1",
"react-markdown": "^9.0.1",
"react-snap-carousel": "^0.4.1",
"recharts": "2.13.0-alpha.4",
"recharts": "2.13.0-alpha.5",
"sharp": "^0.33.5",
"swr": "^2.2.5"
},
"devDependencies": {
"@next/bundle-analyzer": "^14.2.7",
"@next/bundle-analyzer": "^14.2.8",
"@svgr/webpack": "^8.1.0",
"@swc-jotai/debug-label": "^0.1.1",
"@swc-jotai/react-refresh": "^0.2.0",
Expand Down
4 changes: 2 additions & 2 deletions apps/subbridge/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@
"ethers": "^5.7.2",
"jotai": "^2.9.3",
"jotai-devtools": "^0.10.1",
"next": "^14.2.7",
"next": "^14.2.8",
"next-images": "^1.8.5",
"notistack": "^3.0.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"swr": "^2.2.5"
},
"devDependencies": {
"@next/bundle-analyzer": "^14.2.7",
"@next/bundle-analyzer": "^14.2.8",
"@svgr/webpack": "^8.1.0",
"@swc-jotai/debug-label": "^0.1.1",
"@swc-jotai/react-refresh": "^0.2.0"
Expand Down
Binary file modified bun.lockb
Binary file not shown.

0 comments on commit ef487f1

Please sign in to comment.