From 08fa9e0d21b09d7b8f068f3c4b8cc9432b53c7db Mon Sep 17 00:00:00 2001 From: malmen237 Date: Wed, 10 Apr 2024 12:26:14 +0200 Subject: [PATCH] fix: added test-log for tablet --- src/components/landing-page/create-production.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/landing-page/create-production.tsx b/src/components/landing-page/create-production.tsx index bc1a757f..4a3770dc 100644 --- a/src/components/landing-page/create-production.tsx +++ b/src/components/landing-page/create-production.tsx @@ -13,7 +13,7 @@ import { } from "./form-elements.tsx"; import { API } from "../../api/api.ts"; import { useGlobalState } from "../../global-state/context-provider.tsx"; -import { isDesktop, isMobile } from "../../bowser.ts"; +import { isDesktop, isMobile, isTablet } from "../../bowser.ts"; type FormValues = { productionName: string; @@ -67,6 +67,7 @@ export const CreateProduction = () => { useEffect(() => { // TODO remove this after testing console.log(`Is this a mobile? "${isMobile}"`); + console.log(`Is this a tablet? "${isTablet}"`); console.log(`Is this a desktop? "${isDesktop}"`); if (createdProductionId) { reset({