Skip to content

Commit 493d34c

Browse files
authored
feat(deeplinking): make deeplinking cloud only feature (#5298)
1 parent 671cf2c commit 493d34c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
File renamed without changes.

src/shared/components/NotFound.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ import LogoWithCubo from 'src/checkout/LogoWithCubo'
2727
import GetInfluxButton from 'src/shared/components/GetInfluxButton'
2828
import {Organization} from 'src/types'
2929

30+
// Constants
31+
import {CLOUD} from 'src/shared/constants'
32+
3033
const NotFoundNew: FC = () => (
3134
<AppWrapper type="funnel" className="page-not-found" testID="not-found">
3235
<FunnelPage enableGraphic={true} className="page-not-found-funnel">
@@ -148,7 +151,9 @@ const NotFound: FC = () => {
148151
}, [history, location.pathname])
149152

150153
useEffect(() => {
151-
handleDeepLink()
154+
if (CLOUD) {
155+
handleDeepLink()
156+
}
152157
}, [handleDeepLink])
153158

154159
if (isFetchingOrg) {

0 commit comments

Comments
 (0)