import {PageProvider, SearchProvider, TableSearchProvider} from '@components';
import {FC} from 'react';
import {context, pageContext, searchContext} from './context';
import TableList from './table';

const DeliverTraceSnList: FC<{id: string}> = function ({id}) {
  return (
    <TableSearchProvider context={context} state={{trackId: id}}>
      <SearchProvider context={searchContext}>
        <PageProvider context={pageContext}>
          <section className='content-main'>
            <TableList />
          </section>
        </PageProvider>
      </SearchProvider>
    </TableSearchProvider>
  );
};

export default DeliverTraceSnList;
