Skip to content

Commit

Permalink
fix: renamed component imports in FederationCard
Browse files Browse the repository at this point in the history
  • Loading branch information
IgboPharaoh committed Aug 1, 2023
1 parent bd68c26 commit ebcab98
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 580 deletions.
51 changes: 0 additions & 51 deletions apps/gateway-ui/src/components/BalanceTab.tsx

This file was deleted.

138 changes: 0 additions & 138 deletions apps/gateway-ui/src/components/DepositTab.tsx

This file was deleted.

11 changes: 5 additions & 6 deletions apps/gateway-ui/src/components/FederationCard.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import React from 'react';
import { Flex, Stack, useTheme, Heading } from '@chakra-ui/react';
import { Federation } from '../types';
import { InfoTab, DepositTab, BalanceTab } from '.';
import { WithdrawTab } from './WithdrawTab';
import { InfoCard, DepositCard, BalanceCard, WithdrawCard } from '.';

interface FederationCardProps {
federation: Federation;
Expand All @@ -25,12 +24,12 @@ export const FederationCard = (props: FederationCardProps): JSX.Element => {
Human Action Coalition
</Heading>
<Flex gap='24px' flexDir={{ base: 'column', sm: 'column', md: 'row' }}>
<BalanceTab balance_msat={balance_msat} />
<InfoTab nodeId={federation_id} nodeLink={federation_id} />
<BalanceCard balance_msat={balance_msat} />
<InfoCard nodeId={federation_id} nodeLink={federation_id} />
</Flex>
<Flex gap='24px' flexDir={{ base: 'column', sm: 'column', md: 'row' }}>
<DepositTab federationId={federation_id} />
<WithdrawTab federationId={federation_id} />
<DepositCard federationId={federation_id} />
<WithdrawCard federationId={federation_id} />
</Flex>
</Stack>
</>
Expand Down
94 changes: 0 additions & 94 deletions apps/gateway-ui/src/components/InfoTab.tsx

This file was deleted.

Loading

0 comments on commit ebcab98

Please sign in to comment.