@@ -3,7 +3,10 @@ import { ON_DB_EVENT } from '@/subscription/graphql/subscriptions/onDbEvent';
|
||||
import { createClient } from 'graphql-sse';
|
||||
import { useEffect, useMemo } from 'react';
|
||||
import { REACT_APP_SERVER_BASE_URL } from '~/config';
|
||||
import { type Subscription, type SubscriptionOnDbEventArgs } from '~/generated/graphql';
|
||||
import {
|
||||
type Subscription,
|
||||
type SubscriptionOnDbEventArgs,
|
||||
} from '~/generated/graphql';
|
||||
|
||||
type OnDbEventArgs = SubscriptionOnDbEventArgs & {
|
||||
skip?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user