From cf17593b57aff5bf2663627bd02d71fd6d7fe900 Mon Sep 17 00:00:00 2001 From: Jorrin Date: Mon, 29 Jan 2024 10:49:32 +0100 Subject: [PATCH] remove unnecessary classes --- apps/mobile/app/(tabs)/index.tsx | 2 +- apps/mobile/app/(tabs)/search/Searchbar.tsx | 3 ++- apps/mobile/app/(tabs)/search/_layout.tsx | 2 +- apps/mobile/app/components/item/item.tsx | 2 +- apps/mobile/app/components/layout/ScreenLayout.tsx | 4 ++-- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/apps/mobile/app/(tabs)/index.tsx b/apps/mobile/app/(tabs)/index.tsx index 50e4898..6759149 100644 --- a/apps/mobile/app/(tabs)/index.tsx +++ b/apps/mobile/app/(tabs)/index.tsx @@ -4,7 +4,7 @@ import { Text } from '@/components/ui/Text'; export default function HomeScreen() { return ( - Movies will be listed here + Movies will be listed here ); } diff --git a/apps/mobile/app/(tabs)/search/Searchbar.tsx b/apps/mobile/app/(tabs)/search/Searchbar.tsx index dfdf3eb..107ec03 100644 --- a/apps/mobile/app/(tabs)/search/Searchbar.tsx +++ b/apps/mobile/app/(tabs)/search/Searchbar.tsx @@ -3,7 +3,8 @@ import { useFocusEffect } from 'expo-router'; import { useCallback, useRef, useState } from 'react'; import { View } from 'react-native'; import { TextInput } from 'react-native-gesture-handler'; -import Colors from '../../constants/Colors'; + +import Colors from '@/constants/Colors'; export default function Searchbar() { const [keyword, setKeyword] = useState(''); diff --git a/apps/mobile/app/(tabs)/search/_layout.tsx b/apps/mobile/app/(tabs)/search/_layout.tsx index 803fd2f..5cf0f9b 100644 --- a/apps/mobile/app/(tabs)/search/_layout.tsx +++ b/apps/mobile/app/(tabs)/search/_layout.tsx @@ -12,7 +12,7 @@ export default function SearchScreen() { - Search + Search } subtitle="Looking for something?" diff --git a/apps/mobile/app/components/item/item.tsx b/apps/mobile/app/components/item/item.tsx index 2e6a3ec..8f01f5b 100644 --- a/apps/mobile/app/components/item/item.tsx +++ b/apps/mobile/app/components/item/item.tsx @@ -15,7 +15,7 @@ export default function Item() { className="h-full w-full object-cover" /> - Hamilton + Hamilton Movie diff --git a/apps/mobile/app/components/layout/ScreenLayout.tsx b/apps/mobile/app/components/layout/ScreenLayout.tsx index a04d2c5..53cf6fe 100644 --- a/apps/mobile/app/components/layout/ScreenLayout.tsx +++ b/apps/mobile/app/components/layout/ScreenLayout.tsx @@ -12,10 +12,10 @@ export default function ScreenLayout({ title, subtitle, children }: Props) { return ( {typeof title === 'string' && ( - {title} + {title} )} {typeof title !== 'string' && title} - {subtitle} + {subtitle} {children} );