{ "version": 3, "sources": ["../javascripts/hooks/useTrackPageView.ts"], "sourcesContent": ["import { bindActionCreators } from '@reduxjs/toolkit';\nimport { useDispatch } from 'react-redux';\nimport { trackPageViewEvent } from '../actions/tracking';\n\nconst useTrackPageView = () => {\n const dispatch = useDispatch();\n const actions = bindActionCreators(\n {\n trackPageViewEvent,\n },\n dispatch,\n );\n\n return actions.trackPageViewEvent;\n};\n\nexport default useTrackPageView;\n"], "mappings": "qGAIA,IAAMA,EAAmB,IAAM,CAC7B,IAAMC,EAAWC,EAAY,EAQ7B,OAPgBC,EACd,CACE,mBAAAC,CACF,EACAH,CACF,EAEe,kBACjB,EAEOI,EAAQL", "names": ["useTrackPageView", "dispatch", "useDispatch", "bindActionCreators", "trackPageViewEvent", "useTrackPageView_default"] }