We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd93a26 commit 88ff6f2Copy full SHA for 88ff6f2
src/flows/components/FlowPage.tsx
@@ -24,7 +24,9 @@ import {PROJECT_NAME_PLURAL} from 'src/flows'
24
25
import 'src/flows/style.scss'
26
27
+// Utils
28
import {pageTitleSuffixer} from 'src/shared/utils/pageTitles'
29
+import {event} from 'src/cloud/utils/reporting'
30
31
const FlowFromRoute = () => {
32
const {id} = useParams<{id: string}>()
@@ -34,6 +36,12 @@ const FlowFromRoute = () => {
34
36
change(id)
35
37
}, [id, change])
38
39
+ useEffect(() => {
40
+ if (currentID !== null) {
41
+ event('Notebook Accessed', {notebookID: currentID})
42
+ }
43
+ }, [currentID])
44
+
45
document.title = pageTitleSuffixer([
46
flows[currentID]?.name,
47
PROJECT_NAME_PLURAL,
0 commit comments