chore: cleanup

This commit is contained in:
Adrian Castro
2024-03-26 12:39:05 +01:00
parent f296cffb06
commit d8626b9588
2 changed files with 2 additions and 8 deletions

View File

@@ -12,10 +12,7 @@ export default function HomeScreen() {
<View style={{ flex: 1 }} flex={1}> <View style={{ flex: 1 }} flex={1}>
<ScreenLayout title="Home"> <ScreenLayout title="Home">
<ItemListSection title="Bookmarks" items={bookmarks} /> <ItemListSection title="Bookmarks" items={bookmarks} />
<ItemListSection <ItemListSection title="Continue Watching" items={watching} />
title="Continue Watching"
items={watching.concat(bookmarks)}
/>
</ScreenLayout> </ScreenLayout>
</View> </View>
); );

View File

@@ -5,7 +5,7 @@ import { ScrollView, Text, View } from "tamagui";
import type { ItemData } from "~/components/item/item"; import type { ItemData } from "~/components/item/item";
import Item from "~/components/item/item"; import Item from "~/components/item/item";
export const bookmarks: ItemData[] = [ export const watching: ItemData[] = [
{ {
id: "219651", id: "219651",
title: "Welcome to Samdal-ri", title: "Welcome to Samdal-ri",
@@ -22,9 +22,6 @@ export const bookmarks: ItemData[] = [
type: "tv", type: "tv",
year: 2023, year: 2023,
}, },
];
export const watching: ItemData[] = [
{ {
id: "113268", id: "113268",
title: "The Uncanny Counter", title: "The Uncanny Counter",