Skip to content

Commit 44baef4

Browse files
committed
Add missing Amplitude page view to begrunnelse
1 parent 88258c2 commit 44baef4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/routes/klageskjema/begrunnelse/begrunnelse.tsx

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ import klageStore from '../../../klage/klage-store';
2929
import { login } from '../../../user/login';
3030
import { LoginButton } from '../../../styled-components/login-button';
3131
import AutosaveProgressIndicator, { AutosaveStatus } from './autosave-progress';
32+
import { useLogPageView } from '../../../logging/use-log-page-view';
33+
import { PageIdentifier } from '../../../logging/amplitude';
3234

3335
interface UploadError {
3436
timestamp: ISODateTime;
@@ -45,6 +47,7 @@ interface Props {
4547
const Begrunnelse = ({ klage }: Props) => {
4648
const history = useHistory();
4749
const { setKlage } = useContext(AppContext);
50+
useLogPageView(PageIdentifier.KLAGESKJEMA_BEGRUNNElSE);
4851

4952
const [loading, setIsLoading] = useState<boolean>(false);
5053
const [fritekst, setFritekst] = useState<string>(klage.fritekst);

0 commit comments

Comments
 (0)