@@ -14,7 +14,7 @@ import { Alert, AlertIcon, Button, DataTable, Result, Skeleton } from '@redpanda
1414import { useQuery } from '@tanstack/react-query' ;
1515import { SkipIcon } from 'components/icons' ;
1616import { config } from 'config' ;
17- import { useLayoutEffect , useMemo } from 'react' ;
17+ import { useMemo } from 'react' ;
1818
1919import {
2020 Quota_EntityType ,
@@ -23,7 +23,6 @@ import {
2323} from '../../../protogen/redpanda/api/dataplane/v1/quota_pb' ;
2424import { listQuotas } from '../../../protogen/redpanda/api/dataplane/v1/quota-QuotaService_connectquery' ;
2525import type { QuotaResponse , QuotaResponseSetting } from '../../../state/rest-interfaces' ;
26- import { uiState } from '../../../state/ui-state' ;
2726import { InfoText } from '../../../utils/tsx-utils' ;
2827import { prettyBytes , prettyNumber } from '../../../utils/utils' ;
2928import PageContent from '../../misc/page-content' ;
@@ -97,13 +96,6 @@ const useQuotasQuery = () => {
9796} ;
9897
9998const QuotasList = ( ) => {
100- // Set page title and breadcrumbs using useLayoutEffect for synchronous execution
101- // This runs before browser paint, ensuring header renders immediately (fixes CI E2E tests)
102- useLayoutEffect ( ( ) => {
103- uiState . pageBreadcrumbs = [ { title : 'Quotas' , linkTo : '/quotas' } ] ;
104- uiState . pageTitle = 'Quotas' ;
105- } , [ ] ) ;
106-
10799 const { data, error, isLoading } = useQuotasQuery ( ) ;
108100
109101 const quotasData = useMemo ( ( ) => {
0 commit comments