init edit

This commit is contained in:
Patryk
2025-04-15 21:54:54 +02:00
parent 6e8a235ed4
commit 5e44b30a49
5 changed files with 183 additions and 14 deletions

View File

@@ -5,7 +5,7 @@ import { locations } from '@/data/locations';
export default function Index() {
const theme = useTheme();
console.log(locations);
locations.sort((a, b) => b.id - a.id);
return (
<View style={[styles.container, {backgroundColor: theme.colors.background}]}>
<FlatList