Skip to content

Commit

Permalink
fix: added test-log for tablet
Browse files Browse the repository at this point in the history
  • Loading branch information
malmen237 committed Apr 10, 2024
1 parent e5325ed commit 08fa9e0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/landing-page/create-production.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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({
Expand Down

0 comments on commit 08fa9e0

Please sign in to comment.