Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
sstraatemans committed Jan 7, 2025
1 parent 38d2407 commit cdc6dd2
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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 () => {
Expand Down

0 comments on commit cdc6dd2

Please sign in to comment.