Skip to content

Commit 33878e5

Browse files
committed
remove clusterName from PageHeading props
1 parent 57ae0d6 commit 33878e5

File tree

19 files changed

+11
-23
lines changed

19 files changed

+11
-23
lines changed

frontend/src/components/ACLPage/List/List.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ const ACList: React.FC = () => {
149149

150150
return (
151151
<S.Container>
152-
<PageHeading clusterName={clusterName} text="Access Control List">
152+
<PageHeading text="Access Control List">
153153
<ActionButton
154154
buttonType="primary"
155155
buttonSize="M"

frontend/src/components/Brokers/Broker/Broker.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@ const Broker: React.FC = () => {
3939
return (
4040
<>
4141
<PageHeading
42-
clusterName={clusterName}
4342
text={`Broker ${brokerId}`}
4443
backTo={clusterBrokersPath(clusterName)}
4544
backText="Brokers"

frontend/src/components/Brokers/BrokersList/BrokersList.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const BrokersList: React.FC = () => {
4545

4646
return (
4747
<>
48-
<PageHeading clusterName={clusterName} text="Brokers" />
48+
<PageHeading text="Brokers" />
4949

5050
<BrokersMetrics
5151
brokerCount={brokerCount}

frontend/src/components/Connect/Details/DetailsPage.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ const DetailsPage: React.FC = () => {
2424
return (
2525
<div>
2626
<PageHeading
27-
clusterName={clusterName}
2827
text={connectorName}
2928
backTo={clusterConnectorsPath(clusterName)}
3029
backText="Connectors"

frontend/src/components/Connect/List/ListPage.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const ListPage: React.FC = () => {
3333

3434
return (
3535
<>
36-
<PageHeading clusterName={clusterName} text="Connectors">
36+
<PageHeading text="Connectors">
3737
{!isReadOnly && (
3838
<Tooltip
3939
value={

frontend/src/components/Connect/New/New.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ const New: React.FC = () => {
9595
return (
9696
<FormProvider {...methods}>
9797
<PageHeading
98-
clusterName={clusterName}
9998
text="Create new connector"
10099
backTo={clusterConnectorsPath(clusterName)}
101100
backText="Connectors"

frontend/src/components/ConsumerGroups/Details/Details.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ const Details: React.FC = () => {
6565
<div>
6666
<div>
6767
<PageHeading
68-
clusterName={clusterName}
6968
text={consumerGroupID}
7069
backTo={clusterConsumerGroupsPath(clusterName)}
7170
backText="Consumers"

frontend/src/components/ConsumerGroups/Details/ResetOffsets/ResetOffsets.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ const ResetOffsets: React.FC = () => {
3838
return (
3939
<>
4040
<PageHeading
41-
clusterName={routerParams.clusterName}
4241
text={consumerGroupID}
4342
backTo={clusterConsumerGroupsPath(routerParams.clusterName)}
4443
backText="Consumers"

frontend/src/components/ConsumerGroups/List.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ const List = () => {
9292

9393
return (
9494
<>
95-
<PageHeading clusterName={clusterName} text="Consumers" />
95+
<PageHeading text="Consumers" />
9696
<ControlPanelWrapper hasInput>
9797
<Search placeholder="Search by Consumer Group ID" />
9898
</ControlPanelWrapper>

frontend/src/components/KsqlDb/KsqlDb.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const KsqlDb: React.FC = () => {
2929

3030
return (
3131
<>
32-
<PageHeading clusterName={clusterName} text="KSQL DB">
32+
<PageHeading text="KSQL DB">
3333
<ActionButton
3434
to={clusterKsqlDbQueryRelativePath}
3535
buttonType="primary"

0 commit comments

Comments
 (0)