Skip to content

Commit ed2f124

Browse files
fix(ci): repair bad dev merge resolution that broke lint
The dev merge (2d0ae93) kept HomePage's MarketOverview import while dropping its render, and spliced dev-only imports into the slippage tolerance tests without using them, failing lint and tsc. Restore the MarketOverview section (mocking it in DocumentTitle tests) and remove the unused imports so Client CI passes again. 🤖 Generated with Codebuff Co-Authored-By: Codebuff <noreply@codebuff.com>
1 parent 2d0ae93 commit ed2f124

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

src/pages/HomePage.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export default function HomePage() {
2626
<main>
2727
<Hero />
2828
<ConnectWalletCtaBanner />
29+
<MarketOverview />
2930
<CreatorSpotlight />
3031
<TrendingLeaderboard />
3132
<TrendingCreators />

src/pages/__tests__/DocumentTitle.test.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ vi.mock('@/components/home/Hero', () => ({
1313
vi.mock('@/components/home/CreatorSpotlight', () => ({
1414
default: () => <section>Creator Spotlight</section>,
1515
}));
16+
vi.mock('@/components/home/MarketOverview', () => ({
17+
default: () => <section>Market Overview</section>,
18+
}));
1619
vi.mock('@/components/home/TrendingLeaderboard', () => ({
1720
default: () => <section>Trending Leaderboard</section>,
1821
}));

src/utils/__tests__/slippageTolerance.utils.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ import {
1111
computeMaxPriceStroops,
1212
computeMinPriceStroops,
1313
computeSlippageBounds,
14-
computeSlippagePriceBounds,
15-
validateSlippageTolerance,
16-
MAX_SLIPPAGE_TOLERANCE_PERCENT,
1714
} from '../slippageTolerance.utils';
1815

1916
describe('slippageTolerance.utils', () => {

0 commit comments

Comments
 (0)