'use client'

import { ResourceList } from './ResourceList'
import { useResourceCreated } from '@/lib/graphql/hooks/useResourceSubscription'

export function ResourceListWithSubscription({ filter }: { filter?: any }) {
  // Subscribe to resource creation events
  useResourceCreated()

  return <ResourceList filter={filter} />
}

