Skip to content

Commit

Permalink
fix: add wallet address to mock node
Browse files Browse the repository at this point in the history
  • Loading branch information
Aerilym authored Jul 4, 2024
1 parent eeeaa8e commit 6673b17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/staking/app/stake/node/[nodeId]/NodeStaking.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ export default function NodeStaking({ nodeId }: { nodeId: string }) {
const showMockNodes = useFeatureFlag(FEATURE_FLAG.MOCK_OPEN_NODES);
const showNoNodes = useFeatureFlag(FEATURE_FLAG.MOCK_NO_OPEN_NODES);

const { address } = useWallet();

if (showMockNodes && showNoNodes) {
console.error('Cannot show mock nodes and no nodes at the same time');
}
Expand Down

0 comments on commit 6673b17

Please sign in to comment.