diff --git a/renderer/src/hooks/Activity.tsx b/renderer/src/hooks/CheckerActivity.tsx similarity index 100% rename from renderer/src/hooks/Activity.tsx rename to renderer/src/hooks/CheckerActivity.tsx diff --git a/renderer/src/pages/dashboard/ActivityInfo.tsx b/renderer/src/pages/dashboard/ActivityInfo.tsx index 0bcb7b39a..23cf4f5f8 100644 --- a/renderer/src/pages/dashboard/ActivityInfo.tsx +++ b/renderer/src/pages/dashboard/ActivityInfo.tsx @@ -1,6 +1,6 @@ import BorderedBox from 'src/components/BorderedBox' import Text from 'src/components/Text' -import useStationActivity from 'src/hooks/Activity' +import useStationActivity from 'src/hooks/CheckerActivity' import WarningIcon from 'src/assets/img/icons/warning.svg?react' import JobIcon from 'src/assets/img/icons/job.svg?react' import { Activity } from 'shared/typings' diff --git a/renderer/src/test/dashboard.test.tsx b/renderer/src/test/dashboard.test.tsx index ab9516cb9..72a83ae10 100644 --- a/renderer/src/test/dashboard.test.tsx +++ b/renderer/src/test/dashboard.test.tsx @@ -11,7 +11,7 @@ import { } from 'src/lib/checker-config' import Dashboard from 'src/pages/dashboard/Dashboard' import useWallet from 'src/hooks/CheckerWallet' -import useStationActivity from 'src/hooks/Activity' +import useStationActivity from 'src/hooks/CheckerActivity' import { Activity } from '../../../shared/typings' import useStationRewards from 'src/hooks/Rewards' import { stubGlobalElectron, renderApp } from './helpers' diff --git a/renderer/src/test/wallet-modal.test.tsx b/renderer/src/test/wallet-modal.test.tsx index fb7c8970e..f527c6267 100644 --- a/renderer/src/test/wallet-modal.test.tsx +++ b/renderer/src/test/wallet-modal.test.tsx @@ -3,7 +3,7 @@ import { fireEvent, act, screen } from '@testing-library/react' import '@testing-library/jest-dom' import 'src/lib/checker-config' import Dashboard from 'src/pages/dashboard/Dashboard' -import useStationActivity from 'src/hooks/Activity' +import useStationActivity from 'src/hooks/CheckerActivity' import useWallet from 'src/hooks/CheckerWallet' import useStationRewards from 'src/hooks/Rewards' import { renderApp, stubGlobalElectron } from './helpers'