🔧 chore: change to isDesktopView for >960px

This commit is contained in:
Andre H 2024-03-07 12:18:41 +08:00
parent 028831f806
commit 658cc0b6b2

View File

@ -20,8 +20,8 @@ import { useMediaQuery } from 'usehooks-ts';
const CreateWithTemplate = () => { const CreateWithTemplate = () => {
const { orgSlug } = useParams(); const { orgSlug } = useParams();
const isTabletView = useMediaQuery('(min-width: 960px)'); // lg: const isDesktopView = useMediaQuery('(min-width: 960px)'); // lg:
const stepsOrientation = isTabletView ? 'vertical' : 'horizontal'; const stepsOrientation = isDesktopView ? 'vertical' : 'horizontal';
const stepperValues = [ const stepperValues = [
{ {