Skip to content

Commit

Permalink
fix: custom alert import
Browse files Browse the repository at this point in the history
  • Loading branch information
truemiller committed Aug 20, 2024
1 parent 5b237b9 commit bb4104a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions frontend/components/MainPage/header/AgentButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { useCallback, useMemo } from 'react';

import { Chain, DeploymentStatus } from '@/client';
import { COLOR } from '@/constants/colors';
import { LOW_BALANCE } from '@/constants/thresholds';
import { StakingProgram } from '@/enums/StakingProgram';
import { useBalance } from '@/hooks/useBalance';
import { useElectronApi } from '@/hooks/useElectronApi';
Expand Down Expand Up @@ -238,7 +237,6 @@ const AgentNotRunningButton = () => {
return hasEnoughOlas && hasEnoughEth;
}, [
serviceStatus,
safeBalance,
service,
storeState?.isInitialFunded,
isEligibleForStaking,
Expand Down
3 changes: 1 addition & 2 deletions frontend/components/MainPage/sections/NeedsFundsSection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { formatUnits } from 'ethers/lib/utils';
import { ReactNode, useEffect, useMemo } from 'react';
import styled from 'styled-components';

import { CustomAlert } from '@/components/Alert';
import { CHAINS } from '@/constants/chains';
import { UNICODE_SYMBOLS } from '@/constants/symbols';
import { useBalance } from '@/hooks/useBalance';
Expand All @@ -11,8 +12,6 @@ import { useServiceTemplates } from '@/hooks/useServiceTemplates';
import { useStore } from '@/hooks/useStore';
import { getMinimumStakedAmountRequired } from '@/utils/service';

import { CustomAlert } from '../../Alert';
import { AlertTitle } from '../../Alert/AlertTitle';
import { CardSection } from '../../styled/CardSection';

const { Text } = Typography;
Expand Down

0 comments on commit bb4104a

Please sign in to comment.