From 1b48686d2cced7d3d3d07af5da0e8d96b46f8e6c Mon Sep 17 00:00:00 2001 From: Patryk Date: Tue, 22 Apr 2025 19:13:59 +0200 Subject: [PATCH] change js/tsx to jsx --- app/(tabs)/{_layout.tsx => _layout.jsx} | 0 app/(tabs)/add.jsx | 1 + app/(tabs)/{index.tsx => index.jsx} | 0 app/location/{[id].js => [id].jsx} | 0 app/location/edit/{[id].js => [id].jsx} | 1 + store.js => store.jsx | 1 - 6 files changed, 2 insertions(+), 1 deletion(-) rename app/(tabs)/{_layout.tsx => _layout.jsx} (100%) rename app/(tabs)/{index.tsx => index.jsx} (100%) rename app/location/{[id].js => [id].jsx} (100%) rename app/location/edit/{[id].js => [id].jsx} (99%) rename store.js => store.jsx (92%) diff --git a/app/(tabs)/_layout.tsx b/app/(tabs)/_layout.jsx similarity index 100% rename from app/(tabs)/_layout.tsx rename to app/(tabs)/_layout.jsx diff --git a/app/(tabs)/add.jsx b/app/(tabs)/add.jsx index 35f94eb..75d27ae 100644 --- a/app/(tabs)/add.jsx +++ b/app/(tabs)/add.jsx @@ -84,6 +84,7 @@ export default function FormScreen() { mode="outlined" label="Link do zdjęcia" placeholder="Wpisz link do zdjęcia" + multiline={true} style={{ margin: 10, width: '100%' }} value={formData.image} onChangeText={(e) => setFormData({ ...formData, image: e })} diff --git a/app/(tabs)/index.tsx b/app/(tabs)/index.jsx similarity index 100% rename from app/(tabs)/index.tsx rename to app/(tabs)/index.jsx diff --git a/app/location/[id].js b/app/location/[id].jsx similarity index 100% rename from app/location/[id].js rename to app/location/[id].jsx diff --git a/app/location/edit/[id].js b/app/location/edit/[id].jsx similarity index 99% rename from app/location/edit/[id].js rename to app/location/edit/[id].jsx index e4ead45..35a9c90 100644 --- a/app/location/edit/[id].js +++ b/app/location/edit/[id].jsx @@ -96,6 +96,7 @@ export default function EditLocation() { ({ locations: initialLocations, addLocation: (newLocation) =>