From 658cc0b6b2610a04a61b15ac366e5993b76365be Mon Sep 17 00:00:00 2001 From: Andre H Date: Thu, 7 Mar 2024 12:18:41 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore:=20change=20to=20isDesktop?= =?UTF-8?q?View=20for=20>960px?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../frontend/src/pages/org-slug/projects/create/Template.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/frontend/src/pages/org-slug/projects/create/Template.tsx b/packages/frontend/src/pages/org-slug/projects/create/Template.tsx index ae7f55ab..682d1f48 100644 --- a/packages/frontend/src/pages/org-slug/projects/create/Template.tsx +++ b/packages/frontend/src/pages/org-slug/projects/create/Template.tsx @@ -20,8 +20,8 @@ import { useMediaQuery } from 'usehooks-ts'; const CreateWithTemplate = () => { const { orgSlug } = useParams(); - const isTabletView = useMediaQuery('(min-width: 960px)'); // lg: - const stepsOrientation = isTabletView ? 'vertical' : 'horizontal'; + const isDesktopView = useMediaQuery('(min-width: 960px)'); // lg: + const stepsOrientation = isDesktopView ? 'vertical' : 'horizontal'; const stepperValues = [ {