mirror of
https://github.com/snowball-tools/snowballtools-base.git
synced 2024-11-17 20:39:19 +00:00
🔧 chore: change to isDesktopView for >960px
This commit is contained in:
parent
028831f806
commit
658cc0b6b2
@ -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 = [
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user