Skip to content

Commit

Permalink
feat: added Klaviyo form initialization in differentPoints component
Browse files Browse the repository at this point in the history
  • Loading branch information
IgorShadurin committed Nov 17, 2023
1 parent d145ebd commit cfd959f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/differentPoints/differentPoints.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React from "react";
import React, { useEffect } from 'react'
import { useTheme } from "../../store/themeContext/themeContext";
import useStyles from "./differentPointsStyles";

Expand All @@ -9,6 +9,11 @@ function DifferentPoints(props: Props) {

const classes = useStyles({ ...props, ...theme });

useEffect(() => {
window._klOnsite = window._klOnsite || [];
window._klOnsite.push(['openForm', 'TUV2ne']);
}, [])

return (
<div className={classes.WhyFD}>
<div className={classes.container} style={{marginTop: '2rem'}}>
Expand Down

0 comments on commit cfd959f

Please sign in to comment.