From a498acab6e9c4722b8abc509529e712755c2b01c Mon Sep 17 00:00:00 2001
From: Ansh <anshnanda10@gmail.com>
Date: Wed, 30 Aug 2023 17:02:23 -0700
Subject: fix types for breakpoints on mobile (#1342)

---
 src/view/com/util/layouts/Breakpoints.tsx | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

(limited to 'src/view/com/util/layouts/Breakpoints.tsx')

diff --git a/src/view/com/util/layouts/Breakpoints.tsx b/src/view/com/util/layouts/Breakpoints.tsx
index 51c3ccd5a..45dc23615 100644
--- a/src/view/com/util/layouts/Breakpoints.tsx
+++ b/src/view/com/util/layouts/Breakpoints.tsx
@@ -3,6 +3,9 @@ import React from 'react'
 export const Desktop = ({}: React.PropsWithChildren<{}>) => null
 export const TabletOrDesktop = ({}: React.PropsWithChildren<{}>) => null
 export const Tablet = ({}: React.PropsWithChildren<{}>) => null
-export const TabletOrMobile = ({children}: React.PropsWithChildren<{}>) =>
-  children
-export const Mobile = ({children}: React.PropsWithChildren<{}>) => children
+export const TabletOrMobile = ({children}: React.PropsWithChildren<{}>) => (
+  <>{children}</>
+)
+export const Mobile = ({children}: React.PropsWithChildren<{}>) => (
+  <>{children}</>
+)
-- 
cgit 1.4.1

