container.tsx 915 B

12345678910111213141516171819202122232425262728
  1. import {Fragment} from 'react';
  2. import * as Layout from 'sentry/components/layouts/thirds';
  3. import PageFiltersContainer from 'sentry/components/organizations/pageFilters/container';
  4. import ReplaysFeatureBadge from 'sentry/components/replays/replaysFeatureBadge';
  5. import {t} from 'sentry/locale';
  6. import useReplayPageview from 'sentry/utils/replays/hooks/useReplayPageview';
  7. import ReplaysList from 'sentry/views/replays/list/replays';
  8. function ReplaysListContainer() {
  9. useReplayPageview('replay.list-time-spent');
  10. return (
  11. <Fragment>
  12. <Layout.Header>
  13. <Layout.HeaderContent>
  14. <Layout.Title>
  15. {t('Session Replay')} <ReplaysFeatureBadge space={1} />
  16. </Layout.Title>
  17. </Layout.HeaderContent>
  18. </Layout.Header>
  19. <PageFiltersContainer>
  20. <ReplaysList />
  21. </PageFiltersContainer>
  22. </Fragment>
  23. );
  24. }
  25. export default ReplaysListContainer;