Skip to content

Commit 8d1ae37

Browse files
committed
adds pricing
1 parent f6e6a72 commit 8d1ae37

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/components/landing-page-components/sections/pricing-cards.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import PricingCard from '../parts/pricing-card';
55
import PrimaryButton from '../parts/landing-page-button-primary';
66
import SecondaryButton from '../parts/landing-page-button-secondary';
77
import { LINK_CHAT_WITH_FOUNDERS, LINK_GET_STARTED } from '@site/src/constants/landing-page-links-constants';
8+
import { useIsMobile } from '../context-providers/mobile-context-provider';
89

910
const FEATURES = [
1011
{
@@ -37,7 +38,7 @@ const FEATURES = [
3738
];
3839

3940
const PricingCards = () => {
40-
const isMobile = window.innerWidth < 869;
41+
const isMobile = useIsMobile()
4142
const history = useHistory();
4243

4344
return (

0 commit comments

Comments
 (0)