Skip to content
This repository was archived by the owner on Apr 19, 2024. It is now read-only.

Commit 20a0323

Browse files
committed
fix typo at utm campagin
1 parent 4a67413 commit 20a0323

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/components/header/ACLK/cloud-connection-status-modal.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717

1818
import { ConnectionModalStatusContent } from "./types"
1919

20-
const utm_campaign = "agent_nudge_to_cloud"
20+
const campaign = "agent_nudge_to_cloud"
2121

2222
export type CloudConnectionStatusModalProps = ConnectionModalStatusContent & {
2323
closeModal: () => void
@@ -72,7 +72,7 @@ const CloudConnectionStatusModal = ({
7272
</ModalBody>
7373
<ModalFooter>
7474
<Box data-testid="cta1" margin={[0, 2, 0, 0]} width={{ min: 40 }}>
75-
<GoToCloud utmParameters={{ content: "connection_to_cloud", utm_campaign }}>
75+
<GoToCloud utmParameters={{ content: "connection_to_cloud", campaign }}>
7676
{({ link }) => (
7777
<Button
7878
data-ga={`connection-to-cloud::click-ct1::ad`}

src/domains/dashboard/components/migration-modal/migration-modal.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import {
1515
Checkbox,
1616
} from "@netdata/netdata-ui"
1717

18-
const utm_campaign = "agent_nudge_to_cloud"
18+
const campaign = "agent_nudge_to_cloud"
1919

2020
const MigrationModal = ({
2121
migrationModalPromoInfo,
@@ -121,7 +121,7 @@ const MigrationModal = ({
121121
/>
122122
</Box>
123123
<Box data-testid="cta1" margin={[0, 2, 0, 0]} width={{ min: 40 }}>
124-
<GoToCloud utmParameters={{ content: migrationModalPromo, utm_campaign }}>
124+
<GoToCloud utmParameters={{ content: migrationModalPromo, campaign }}>
125125
{({ link }) => (
126126
<Button
127127
data-ga={`${migrationModalPromo}::click-ct1::ad`}

0 commit comments

Comments
 (0)