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 f6e6a72 commit 8d1ae37Copy full SHA for 8d1ae37
src/components/landing-page-components/sections/pricing-cards.jsx
@@ -5,6 +5,7 @@ import PricingCard from '../parts/pricing-card';
5
import PrimaryButton from '../parts/landing-page-button-primary';
6
import SecondaryButton from '../parts/landing-page-button-secondary';
7
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';
9
10
const FEATURES = [
11
{
@@ -37,7 +38,7 @@ const FEATURES = [
37
38
];
39
40
const PricingCards = () => {
- const isMobile = window.innerWidth < 869;
41
+ const isMobile = useIsMobile()
42
const history = useHistory();
43
44
return (
0 commit comments