diff --git a/apps/staking/app/stake/[nodeId]/NodeStaking.tsx b/apps/staking/app/stake/[nodeId]/NodeStaking.tsx
index 3fff36b0..b604e874 100644
--- a/apps/staking/app/stake/[nodeId]/NodeStaking.tsx
+++ b/apps/staking/app/stake/[nodeId]/NodeStaking.tsx
@@ -1,6 +1,5 @@
'use client';
-import { NodeContributorList } from '@/components/NodeCard';
import { PubKey } from '@session/ui/components/PubKey';
import { formatPercentage } from '@/lib/locale-client';
import { ButtonDataTestId } from '@/testing/data-test-ids';
@@ -14,19 +13,14 @@ import { useMemo } from 'react';
import { ActionModuleRow, ActionModuleRowSkeleton } from '@/components/ActionModule';
import { useStakingBackendSuspenseQuery } from '@/lib/sent-staking-backend-client';
import { getOpenNodes } from '@/lib/queries/getOpenNodes';
-import { generateOpenNodes } from '@session/sent-staking-js/test';
import { areHexesEqual } from '@session/util/string';
-import { FEATURE_FLAG } from '@/lib/feature-flags';
-import { useFeatureFlag } from '@/lib/feature-flags-client';
export default function NodeStaking({ nodeId }: { nodeId: string }) {
- const showMockNodes = useFeatureFlag(FEATURE_FLAG.MOCK_OPEN_NODES);
const { data, isLoading } = useStakingBackendSuspenseQuery(getOpenNodes);
const node = useMemo(() => {
- if (showMockNodes) return generateOpenNodes()[0];
return data?.nodes?.find((node) => areHexesEqual(node.service_node_pubkey, nodeId));
- }, [data, showMockNodes]);
+ }, [data]);
return isLoading ? (