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

feat: move lib to package #9

Merged
merged 23 commits into from
Oct 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
2623619
move lib to package
groninge01 Oct 11, 2024
c781cfb
add eslint config
groninge01 Oct 11, 2024
7375311
disable test again
groninge01 Oct 11, 2024
cd4a591
reverted change
groninge01 Oct 11, 2024
69df18c
fix: Unit test
garethfuller Oct 11, 2024
55b74e1
fix: Turbo config
garethfuller Oct 11, 2024
319ea15
unignore 'build'
groninge01 Oct 11, 2024
11468db
fix integration tests
groninge01 Oct 11, 2024
2e2e020
indent
groninge01 Oct 11, 2024
ecbc8e3
chore: Add env to integration command
garethfuller Oct 14, 2024
600b7c7
fix: adjust vi.mock paths
agualis Oct 14, 2024
576d01a
chore: Update checks vars
garethfuller Oct 14, 2024
5fbf17d
chore: enable foundry-toolchain cache again
agualis Oct 14, 2024
54900ec
fix integration tests
groninge01 Oct 14, 2024
68b10ae
chore: add -- to test scripts to allow extra argument passthrough
agualis Oct 14, 2024
080a9bd
chore: move .env files to packages/lib
agualis Oct 14, 2024
3e46da9
chore: add skipped test back
agualis Oct 14, 2024
7310fe9
chore: add --output-stream option to improve integration test output …
agualis Oct 14, 2024
6f7ee54
chore: add --output-logs=new-only option to improve integration test …
agualis Oct 14, 2024
418e73e
chore: remove --outputLogs option
agualis Oct 14, 2024
4fc99c6
chore: add --log-order option to improve integration test output in GHA
agualis Oct 14, 2024
1197eae
chore: add --log-order=stream option to improve integration test outp…
agualis Oct 14, 2024
c73d7ad
chore: add --log-order=stream option to improve unit test output in GHA
agualis Oct 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ on:
env:
NEXT_PUBLIC_BALANCER_API_URL: https://api-v3.balancer.fi/graphql
NEXT_PUBLIC_WALLET_CONNECT_ID: ${{ secrets.NEXT_PUBLIC_WALLET_CONNECT_ID }}
NEXT_PRIVATE_ALCHEMY_KEY: ${{ secrets.NEXT_PRIVATE_ALCHEMY_KEY }}
NEXT_PRIVATE_ALCHEMY_KEY: ${{ secrets.PRIVATE_ALCHEMY_KEY }}
NEXT_PRIVATE_DRPC_KEY: ${{ secrets.PRIVATE_DRPC_KEY }}
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ vars.TURBO_TEAM }}

Expand Down Expand Up @@ -65,5 +66,7 @@ jobs:
uses: ./.github/actions/setup
- name: Set up foundry (includes anvil)
uses: foundry-rs/foundry-toolchain@v1
# with:
# cache: false # Disable cache after foundry-toolchain upgrade
- name: Run integration tests
run: pnpm test:integration
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ coverage
# Build Outputs
.next/
out/
build
dist


Expand Down
10 changes: 5 additions & 5 deletions apps/frontend-v3/app/(app)/debug/alerts/page.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
'use client'

import { BalAlert } from '@/lib/shared/components/alerts/BalAlert'
import { BalAlertButton } from '@/lib/shared/components/alerts/BalAlertButton'
import { BalAlertContent } from '@/lib/shared/components/alerts/BalAlertContent'
import { useGlobalAlerts } from '@/lib/shared/components/alerts/GlobalAlertsProvider'
import { GenericError } from '@/lib/shared/components/errors/GenericError'
import { BalAlert } from '@repo/lib/shared/components/alerts/BalAlert'
import { BalAlertButton } from '@repo/lib/shared/components/alerts/BalAlertButton'
import { BalAlertContent } from '@repo/lib/shared/components/alerts/BalAlertContent'
import { useGlobalAlerts } from '@repo/lib/shared/components/alerts/GlobalAlertsProvider'
import { GenericError } from '@repo/lib/shared/components/errors/GenericError'
import { Button, VStack } from '@chakra-ui/react'

const exceptionName = 'Error fetching swap'
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend-v3/app/(app)/debug/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { DefaultPageContainer } from '@/lib/shared/components/containers/DefaultPageContainer'
import { DefaultPageContainer } from '@repo/lib/shared/components/containers/DefaultPageContainer'
import { PropsWithChildren } from 'react'

export default function DebugLayout({ children }: PropsWithChildren) {
Expand Down
6 changes: 3 additions & 3 deletions apps/frontend-v3/app/(app)/debug/modal/page.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
'use client'

import { SuccessOverlay } from '@/lib/shared/components/modals/SuccessOverlay'
import { TransactionModalHeader } from '@/lib/shared/components/modals/TransactionModalHeader'
import { GqlChain } from '@/lib/shared/services/api/generated/graphql'
import { SuccessOverlay } from '@repo/lib/shared/components/modals/SuccessOverlay'
import { TransactionModalHeader } from '@repo/lib/shared/components/modals/TransactionModalHeader'
import { GqlChain } from '@repo/lib/shared/services/api/generated/graphql'
import { useDisclosure } from '@chakra-ui/hooks'
import {
Button,
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend-v3/app/(app)/debug/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { Heading, VStack } from '@chakra-ui/react'
import NextLink from 'next/link'
import { Link } from '@chakra-ui/react'
import FadeInOnView from '@/lib/shared/components/containers/FadeInOnView'
import FadeInOnView from '@repo/lib/shared/components/containers/FadeInOnView'

export default function Debug() {
return (
Expand Down
6 changes: 3 additions & 3 deletions apps/frontend-v3/app/(app)/debug/permit2-allowance/page.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/* eslint-disable @typescript-eslint/no-non-null-assertion */
'use client'

import { getGqlChain, getNetworkConfig } from '@/lib/config/app.config'
import { BPT_DECIMALS } from '@/lib/modules/pool/pool.constants'
import { useUserAccount } from '@/lib/modules/web3/UserAccountProvider'
import { getGqlChain, getNetworkConfig } from '@repo/lib/config/app.config'
import { BPT_DECIMALS } from '@repo/lib/modules/pool/pool.constants'
import { useUserAccount } from '@repo/lib/modules/web3/UserAccountProvider'
import { permit2Abi } from '@balancer/sdk'
import { Center, Input, Text, VStack } from '@chakra-ui/react'
import { useState } from 'react'
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend-v3/app/(app)/debug/pools/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import { HStack, Heading, VStack } from '@chakra-ui/react'
import NextLink from 'next/link'
import { Link } from '@chakra-ui/react'
import FadeInOnView from '@/lib/shared/components/containers/FadeInOnView'
import FadeInOnView from '@repo/lib/shared/components/containers/FadeInOnView'

export default function DebugPools() {
return (
Expand Down
10 changes: 5 additions & 5 deletions apps/frontend-v3/app/(app)/debug/remove-allowance/page.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
'use client'

import { buildTokenApprovalLabels } from '@/lib/modules/tokens/approvals/approval-labels'
import { TransactionStepButton } from '@/lib/modules/transactions/transaction-steps/TransactionStepButton'
import { useUserAccount } from '@/lib/modules/web3/UserAccountProvider'
import { buildTokenApprovalLabels } from '@repo/lib/modules/tokens/approvals/approval-labels'
import { TransactionStepButton } from '@repo/lib/modules/transactions/transaction-steps/TransactionStepButton'
import { useUserAccount } from '@repo/lib/modules/web3/UserAccountProvider'
import {
ManagedErc20TransactionInput,
useManagedErc20Transaction,
} from '@/lib/modules/web3/contracts/useManagedErc20Transaction'
import { sentryMetaForWagmiSimulation } from '@/lib/shared/utils/query-errors'
} from '@repo/lib/modules/web3/contracts/useManagedErc20Transaction'
import { sentryMetaForWagmiSimulation } from '@repo/lib/shared/utils/query-errors'
import { Center, Input, Text, VStack } from '@chakra-ui/react'
import { useState } from 'react'
import { Address } from 'viem'
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
'use client'

import { getNetworkConfig } from '@/lib/config/app.config'
import { TransactionStepButton } from '@/lib/modules/transactions/transaction-steps/TransactionStepButton'
import { TransactionLabels } from '@/lib/modules/transactions/transaction-steps/lib'
import { useUserAccount } from '@/lib/modules/web3/UserAccountProvider'
import { getNetworkConfig } from '@repo/lib/config/app.config'
import { TransactionStepButton } from '@repo/lib/modules/transactions/transaction-steps/TransactionStepButton'
import { TransactionLabels } from '@repo/lib/modules/transactions/transaction-steps/lib'
import { useUserAccount } from '@repo/lib/modules/web3/UserAccountProvider'
import {
ManagedTransactionInput,
useManagedTransaction,
} from '@/lib/modules/web3/contracts/useManagedTransaction'
} from '@repo/lib/modules/web3/contracts/useManagedTransaction'
import { Center, VStack } from '@chakra-ui/react'

export default function Page() {
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend-v3/app/(app)/debug/sentry/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import { Button, Center } from '@chakra-ui/react'
import { SentryError, ensureError } from '@/lib/shared/utils/errors'
import { SentryError, ensureError } from '@repo/lib/shared/utils/errors'

export default function Page() {
function throwError() {
Expand Down
18 changes: 9 additions & 9 deletions apps/frontend-v3/app/(app)/debug/token-input/page.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
'use client'

import { useTokens } from '@/lib/modules/tokens/TokensProvider'
import { TokenInput } from '@/lib/modules/tokens/TokenInput/TokenInput'
import { useTokens } from '@repo/lib/modules/tokens/TokensProvider'
import { TokenInput } from '@repo/lib/modules/tokens/TokenInput/TokenInput'
import { Button, Card, Heading, Text, VStack, useDisclosure } from '@chakra-ui/react'
import { GqlChain, GqlToken } from '@/lib/shared/services/api/generated/graphql'
import { GqlChain, GqlToken } from '@repo/lib/shared/services/api/generated/graphql'
import { useState } from 'react'
import { TokenSelectModal } from '@/lib/modules/tokens/TokenSelectModal/TokenSelectModal'
import { TokenBalancesProvider } from '@/lib/modules/tokens/TokenBalancesProvider'
import { ConnectWallet } from '@/lib/modules/web3/ConnectWallet'
import { daiAddress } from '@/lib/debug-helpers'
import { TokenInputsValidationProvider } from '@/lib/modules/tokens/TokenInputsValidationProvider'
import { PriceImpactProvider } from '@/lib/modules/price-impact/PriceImpactProvider'
import { TokenSelectModal } from '@repo/lib/modules/tokens/TokenSelectModal/TokenSelectModal'
import { TokenBalancesProvider } from '@repo/lib/modules/tokens/TokenBalancesProvider'
import { ConnectWallet } from '@repo/lib/modules/web3/ConnectWallet'
import { daiAddress } from '@repo/lib/debug-helpers'
import { TokenInputsValidationProvider } from '@repo/lib/modules/tokens/TokenInputsValidationProvider'
import { PriceImpactProvider } from '@repo/lib/modules/price-impact/PriceImpactProvider'

export default function TokenInputPage() {
const [currentValue, setCurrentValue] = useState('')
Expand Down
8 changes: 4 additions & 4 deletions apps/frontend-v3/app/(app)/debug/token-select/page.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
'use client'

import { TokenSelectModal } from '@/lib/modules/tokens/TokenSelectModal/TokenSelectModal'
import { TokenBalancesProvider } from '@/lib/modules/tokens/TokenBalancesProvider'
import { useTokens } from '@/lib/modules/tokens/TokensProvider'
import { GqlChain, GqlToken } from '@/lib/shared/services/api/generated/graphql'
import { TokenSelectModal } from '@repo/lib/modules/tokens/TokenSelectModal/TokenSelectModal'
import { TokenBalancesProvider } from '@repo/lib/modules/tokens/TokenBalancesProvider'
import { useTokens } from '@repo/lib/modules/tokens/TokensProvider'
import { GqlChain, GqlToken } from '@repo/lib/shared/services/api/generated/graphql'
import { Button, useDisclosure, Text } from '@chakra-ui/react'
import { useRef, useState } from 'react'

Expand Down
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
'use client'

import { isNotSupported, shouldBlockAddLiquidity } from '@/lib/modules/pool/pool.helpers'
import { usePool } from '@/lib/modules/pool/PoolProvider'
import { RelayerSignatureProvider } from '@/lib/modules/relayer/RelayerSignatureProvider'
import { TokenInputsValidationProvider } from '@/lib/modules/tokens/TokenInputsValidationProvider'
import { PriceImpactProvider } from '@/lib/modules/price-impact/PriceImpactProvider'
import { isNotSupported, shouldBlockAddLiquidity } from '@repo/lib/modules/pool/pool.helpers'
import { usePool } from '@repo/lib/modules/pool/PoolProvider'
import { RelayerSignatureProvider } from '@repo/lib/modules/relayer/RelayerSignatureProvider'
import { TokenInputsValidationProvider } from '@repo/lib/modules/tokens/TokenInputsValidationProvider'
import { PriceImpactProvider } from '@repo/lib/modules/price-impact/PriceImpactProvider'
import { Alert } from '@chakra-ui/react'
import { TransactionStateProvider } from '@/lib/modules/transactions/transaction-steps/TransactionStateProvider'
import { TransactionStateProvider } from '@repo/lib/modules/transactions/transaction-steps/TransactionStateProvider'
import { PropsWithChildren } from 'react'
import { isHash } from 'viem'
import { usePoolRedirect } from '@/lib/modules/pool/pool.hooks'
import { DefaultPageContainer } from '@/lib/shared/components/containers/DefaultPageContainer'
import { AddLiquidityProvider } from '@/lib/modules/pool/actions/add-liquidity/AddLiquidityProvider'
import { Permit2SignatureProvider } from '@/lib/modules/tokens/approvals/permit2/Permit2SignatureProvider'
import { usePoolRedirect } from '@repo/lib/modules/pool/pool.hooks'
import { DefaultPageContainer } from '@repo/lib/shared/components/containers/DefaultPageContainer'
import { AddLiquidityProvider } from '@repo/lib/modules/pool/actions/add-liquidity/AddLiquidityProvider'
import { Permit2SignatureProvider } from '@repo/lib/modules/tokens/approvals/permit2/Permit2SignatureProvider'

type Props = PropsWithChildren<{
params: { txHash?: string[] }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use client'

import { PoolActionsLayout } from '@/lib/modules/pool/actions/PoolActionsLayout'
import { AddLiquidityForm } from '@/lib/modules/pool/actions/add-liquidity/form/AddLiquidityForm'
import { PoolActionsLayout } from '@repo/lib/modules/pool/actions/PoolActionsLayout'
import { AddLiquidityForm } from '@repo/lib/modules/pool/actions/add-liquidity/form/AddLiquidityForm'

export default function AddLiquidityPage() {
// ./layout.tsx defines UI and state that is shared by this page and the nested /add-liquidity/[txHash] receipt page
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
'use client'

import { PageErrorBoundary } from '@/lib/shared/components/errors/ErrorBoundary'
import { PageErrorBoundary } from '@repo/lib/shared/components/errors/ErrorBoundary'

export default PageErrorBoundary
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
/* eslint-disable max-len */
import { FetchPoolProps } from '@/lib/modules/pool/pool.types'
import { ChainSlug, getPoolTypeLabel, slugToChainMap } from '@/lib/modules/pool/pool.utils'
import { FetchPoolProps } from '@repo/lib/modules/pool/pool.types'
import { ChainSlug, getPoolTypeLabel, slugToChainMap } from '@repo/lib/modules/pool/pool.utils'
import { PropsWithChildren, Suspense } from 'react'
import { PoolDetailSkeleton } from '@/lib/modules/pool/PoolDetail/PoolDetailSkeleton'
import { getApolloServerClient } from '@/lib/shared/services/api/apollo-server.client'
import { GetPoolDocument } from '@/lib/shared/services/api/generated/graphql'
import { PoolDetailSkeleton } from '@repo/lib/modules/pool/PoolDetail/PoolDetailSkeleton'
import { getApolloServerClient } from '@repo/lib/shared/services/api/apollo-server.client'
import { GetPoolDocument } from '@repo/lib/shared/services/api/generated/graphql'
import { Metadata } from 'next'
import { PoolProvider } from '@/lib/modules/pool/PoolProvider'
import { getProjectConfig } from '@/lib/config/getProjectConfig'
import { arrayToSentence } from '@/lib/shared/utils/strings'
import { ensureError } from '@/lib/shared/utils/errors'
import { PoolProvider } from '@repo/lib/modules/pool/PoolProvider'
import { getProjectConfig } from '@repo/lib/config/getProjectConfig'
import { arrayToSentence } from '@repo/lib/shared/utils/strings'
import { ensureError } from '@repo/lib/shared/utils/errors'
import { notFound } from 'next/navigation'

type Props = PropsWithChildren<{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
'use client'

import { PoolActionsLayout } from '@/lib/modules/pool/actions/PoolActionsLayout'
import { MigrateStakeForm } from '@/lib/modules/pool/actions/migrateStake/MigrateStakeForm'
import { MigrateStakeProvider } from '@/lib/modules/pool/actions/migrateStake/MigrateStakeProvider'
import { UnstakeProvider } from '@/lib/modules/pool/actions/unstake/UnstakeProvider'
import { TransactionStateProvider } from '@/lib/modules/transactions/transaction-steps/TransactionStateProvider'
import { PoolActionsLayout } from '@repo/lib/modules/pool/actions/PoolActionsLayout'
import { MigrateStakeForm } from '@repo/lib/modules/pool/actions/migrateStake/MigrateStakeForm'
import { MigrateStakeProvider } from '@repo/lib/modules/pool/actions/migrateStake/MigrateStakeProvider'
import { UnstakeProvider } from '@repo/lib/modules/pool/actions/unstake/UnstakeProvider'
import { TransactionStateProvider } from '@repo/lib/modules/transactions/transaction-steps/TransactionStateProvider'

export default function MigrateStakePage() {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PoolDetail } from '@/lib/modules/pool/PoolDetail/PoolDetail'
import { TransactionStateProvider } from '@/lib/modules/transactions/transaction-steps/TransactionStateProvider'
import { PoolDetail } from '@repo/lib/modules/pool/PoolDetail/PoolDetail'
import { TransactionStateProvider } from '@repo/lib/modules/transactions/transaction-steps/TransactionStateProvider'

export default function PoolPage() {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
'use client'

import { PoolActionsLayout } from '@/lib/modules/pool/actions/PoolActionsLayout'
import { RemoveLiquidityForm } from '@/lib/modules/pool/actions/remove-liquidity/form/RemoveLiquidityForm'
import { RemoveLiquidityProvider } from '@/lib/modules/pool/actions/remove-liquidity/RemoveLiquidityProvider'
import { RelayerSignatureProvider } from '@/lib/modules/relayer/RelayerSignatureProvider'
import { TransactionStateProvider } from '@/lib/modules/transactions/transaction-steps/TransactionStateProvider'
import { PriceImpactProvider } from '@/lib/modules/price-impact/PriceImpactProvider'
import { PoolActionsLayout } from '@repo/lib/modules/pool/actions/PoolActionsLayout'
import { RemoveLiquidityForm } from '@repo/lib/modules/pool/actions/remove-liquidity/form/RemoveLiquidityForm'
import { RemoveLiquidityProvider } from '@repo/lib/modules/pool/actions/remove-liquidity/RemoveLiquidityProvider'
import { RelayerSignatureProvider } from '@repo/lib/modules/relayer/RelayerSignatureProvider'
import { TransactionStateProvider } from '@repo/lib/modules/transactions/transaction-steps/TransactionStateProvider'
import { PriceImpactProvider } from '@repo/lib/modules/price-impact/PriceImpactProvider'
import { isHash } from 'viem'
import { DefaultPageContainer } from '@/lib/shared/components/containers/DefaultPageContainer'
import { PermitSignatureProvider } from '@/lib/modules/tokens/approvals/permit2/PermitSignatureProvider'
import { DefaultPageContainer } from '@repo/lib/shared/components/containers/DefaultPageContainer'
import { PermitSignatureProvider } from '@repo/lib/modules/tokens/approvals/permit2/PermitSignatureProvider'

type Props = {
params: { txHash?: string[] }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
/* eslint-disable react-hooks/exhaustive-deps */
'use client'

import { PoolActionsLayout } from '@/lib/modules/pool/actions/PoolActionsLayout'
import { StakeForm } from '@/lib/modules/pool/actions/stake/StakeForm'
import { TransactionStateProvider } from '@/lib/modules/transactions/transaction-steps/TransactionStateProvider'
import { StakeProvider } from '@/lib/modules/pool/actions/stake/StakeProvider'
import { DefaultPageContainer } from '@/lib/shared/components/containers/DefaultPageContainer'
import { PoolActionsLayout } from '@repo/lib/modules/pool/actions/PoolActionsLayout'
import { StakeForm } from '@repo/lib/modules/pool/actions/stake/StakeForm'
import { TransactionStateProvider } from '@repo/lib/modules/transactions/transaction-steps/TransactionStateProvider'
import { StakeProvider } from '@repo/lib/modules/pool/actions/stake/StakeProvider'
import { DefaultPageContainer } from '@repo/lib/shared/components/containers/DefaultPageContainer'

export default function StakePage() {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
'use client'

import { PoolActionsLayout } from '@/lib/modules/pool/actions/PoolActionsLayout'
import { UnstakeForm } from '@/lib/modules/pool/actions/unstake/UnstakeForm'
import { UnstakeProvider } from '@/lib/modules/pool/actions/unstake/UnstakeProvider'
import { TransactionStateProvider } from '@/lib/modules/transactions/transaction-steps/TransactionStateProvider'
import { DefaultPageContainer } from '@/lib/shared/components/containers/DefaultPageContainer'
import { PoolActionsLayout } from '@repo/lib/modules/pool/actions/PoolActionsLayout'
import { UnstakeForm } from '@repo/lib/modules/pool/actions/unstake/UnstakeForm'
import { UnstakeProvider } from '@repo/lib/modules/pool/actions/unstake/UnstakeProvider'
import { TransactionStateProvider } from '@repo/lib/modules/transactions/transaction-steps/TransactionStateProvider'
import { DefaultPageContainer } from '@repo/lib/shared/components/containers/DefaultPageContainer'

export default function UnstakePage() {
return (
Expand Down
12 changes: 6 additions & 6 deletions apps/frontend-v3/app/(app)/pools/cow/page.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { PoolList } from '@/lib/modules/pool/PoolList/PoolList'
import FadeInOnView from '@/lib/shared/components/containers/FadeInOnView'
import { GqlPoolType } from '@/lib/shared/services/api/generated/graphql'
import { PoolList } from '@repo/lib/modules/pool/PoolList/PoolList'
import FadeInOnView from '@repo/lib/shared/components/containers/FadeInOnView'
import { GqlPoolType } from '@repo/lib/shared/services/api/generated/graphql'
import { Box, Skeleton } from '@chakra-ui/react'
import { Suspense } from 'react'
import { Metadata } from 'next'
import { CowFooter } from './CowFooter'
import { DefaultPageContainer } from '@/lib/shared/components/containers/DefaultPageContainer'
import { CowHeader } from './CowHeader'
import { CowFooter } from '../../../../../../packages/lib/shared/components/navs/CowFooter'
import { DefaultPageContainer } from '@repo/lib/shared/components/containers/DefaultPageContainer'
import { CowHeader } from '@repo/lib/shared/components/navs/CowHeader'

export const metadata: Metadata = {
title: `CoW AMM DeFi Liquidity Pools`,
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend-v3/app/(app)/pools/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { getProjectConfig } from '@/lib/config/getProjectConfig'
import { getProjectConfig } from '@repo/lib/config/getProjectConfig'
import { Metadata } from 'next'
import { PropsWithChildren } from 'react'

Expand Down
Loading
Loading