diff --git a/components/MyMenuView.tsx b/components/MyMenuView.tsx index ba03211..e00c310 100644 --- a/components/MyMenuView.tsx +++ b/components/MyMenuView.tsx @@ -13,8 +13,15 @@ export function MyMenuView({ menuData }: { menuData: MenuItem[] }) { contentContainerStyle={styles.listContent} data={menuData} ItemSeparatorComponent={ItemSeparator} - ListFooterComponent={ListFooterComponent} - ListHeaderComponent={ListHeaderComponent} + ListFooterComponent={} + ListHeaderComponent={ + + My Music + + Edit + + + } renderItem={({ item }) => ( )} @@ -23,21 +30,6 @@ export function MyMenuView({ menuData }: { menuData: MenuItem[] }) { ); } -function ListHeaderComponent() { - return ( - - My Music - - Edit - - - ); -} - -function ListFooterComponent() { - return ; -} - let styles = StyleSheet.create({ header: { alignItems: "center",