Skip to content

Commit c94bd5e

Browse files
subirjollySubir Jolly
andauthored
fix: fix rudderstack feature flag name (#3197)
Co-authored-by: Subir Jolly <subirjolly@Subirs-MacBook-Pro.local>
1 parent af1bd84 commit c94bd5e

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

src/billing/components/PayAsYouGo/CancellationOverlay.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const CancellationOverlay: FC<Props> = ({onHideOverlay}) => {
5858
}
5959

6060
if (
61-
isFlagEnabled('rudderStackReporting') &&
61+
isFlagEnabled('rudderstackReporting') &&
6262
isFlagEnabled('trackCancellations')
6363
) {
6464
// Send to Rudderstack

src/billing/components/PayAsYouGo/CancellationPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const CancellationPanel: FC = () => {
2727
const handleCancelService = () => {
2828
if (
2929
isFlagEnabled('trackCancellations') &&
30-
isFlagEnabled('rudderStackReporting')
30+
isFlagEnabled('rudderstackReporting')
3131
) {
3232
const payload = {
3333
org: org.id,

src/me/actions/thunks/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const getMe = () => async (
4545
user_id: user.id,
4646
})
4747

48-
if (CLOUD && isFlagEnabled('rudderStackReporting')) {
48+
if (CLOUD && isFlagEnabled('rudderstackReporting')) {
4949
const state = getState()
5050
const org = getOrg(state)
5151
identify(user.id, {email: user.name, orgID: org.id})

src/organizations/components/DeleteOrgOverlay.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const DeleteOrgOverlay: FC = () => {
7575
}
7676

7777
if (
78-
isFlagEnabled('rudderStackReporting') &&
78+
isFlagEnabled('rudderstackReporting') &&
7979
isFlagEnabled('trackCancellations')
8080
) {
8181
track('DeleteOrgExecuted', payload)

src/organizations/components/OrgProfileDeletePanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const OrgProfileTab: FC = () => {
3232
const handleShowDeleteOverlay = () => {
3333
if (
3434
isFlagEnabled('trackCancellations') &&
35-
isFlagEnabled('rudderStackReporting')
35+
isFlagEnabled('rudderstackReporting')
3636
) {
3737
const payload = {
3838
org: org.id,

0 commit comments

Comments
 (0)