diff --git a/packages/apps/rwa-demo/src/components/GraphOnlineBanner/GraphOnlineBanner.tsx b/packages/apps/rwa-demo/src/components/GraphOnlineBanner/GraphOnlineBanner.tsx index 65235b183c..53b39f839b 100644 --- a/packages/apps/rwa-demo/src/components/GraphOnlineBanner/GraphOnlineBanner.tsx +++ b/packages/apps/rwa-demo/src/components/GraphOnlineBanner/GraphOnlineBanner.tsx @@ -1,14 +1,15 @@ import { useNetworkInfoQuery } from '@/__generated__/sdk'; import { NETWORK_POLLING_RATE } from '@/constants'; import { Notification } from '@kadena/kode-ui'; -import { FC, useEffect } from 'react'; +import type { FC } from 'react'; +import { useEffect } from 'react'; export const GraphOnlineBanner: FC = () => { const variables = { pollInterval: NETWORK_POLLING_RATE, }; - const { data, error, stopPolling } = useNetworkInfoQuery(variables); + const { error, stopPolling } = useNetworkInfoQuery(variables); useEffect(() => { return () => {