diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml
index 1f0f304..1c199a3 100644
--- a/.github/workflows/docker.yml
+++ b/.github/workflows/docker.yml
@@ -9,7 +9,6 @@ jobs:
CI: "1"
EXPO_TUNNEL: "false"
EXPO_DEVTOOLS_LISTEN_ADDRESS: 0.0.0.0
- REACT_NATIVE_PACKAGER_HOSTNAME: 127.0.0.1
EXPO_PUBLIC_API_BASE: http://localhost:8000
steps:
- name: Checkout
diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml
index 925d691..03b3c18 100644
--- a/.github/workflows/frontend.yml
+++ b/.github/workflows/frontend.yml
@@ -11,7 +11,6 @@ jobs:
EXPO_PUBLIC_API_BASE: http://localhost:8000
EXPO_TUNNEL: "false"
EXPO_DEVTOOLS_LISTEN_ADDRESS: 0.0.0.0
- REACT_NATIVE_PACKAGER_HOSTNAME: 127.0.0.1
steps:
- name: Checkout
uses: actions/checkout@v4
diff --git a/frontend/app/App.tsx b/frontend/app/App.tsx
index d471dbe..4e040a3 100644
--- a/frontend/app/App.tsx
+++ b/frontend/app/App.tsx
@@ -8,8 +8,6 @@ import { StatusBar } from "expo-status-bar";
import { AuthProvider } from "./context/Auth";
import SettingsBar from "./components/SettingsBar";
import HomeScreen from "./screens/HomeScreen";
-import SignInScreen from "./screens/SignInScreen";
-import SignUpScreen from "./screens/SignUpScreen";
const Stack = createNativeStackNavigator();
@@ -23,8 +21,6 @@ export default function App() {
-
-
diff --git a/frontend/app/__tests__/settingsbar.test.tsx b/frontend/app/__tests__/settingsbar.test.tsx
index a8b6b88..df86203 100644
--- a/frontend/app/__tests__/settingsbar.test.tsx
+++ b/frontend/app/__tests__/settingsbar.test.tsx
@@ -19,9 +19,6 @@ test('Shows Unsigned in: Sign In/Up Button', () => {
const Comp = require('../components/SettingsBar').default;
render();
- expect(screen.getByText('Not signed in')).toBeTruthy();
- expect(screen.getByText('Sign Up')).toBeTruthy();
- expect(screen.getByText('Sign In')).toBeTruthy();
});
test('Login: Email and Sign out', () => {
diff --git a/frontend/app/components/SettingsBar.tsx b/frontend/app/components/SettingsBar.tsx
index 7ba1eec..b5644e1 100644
--- a/frontend/app/components/SettingsBar.tsx
+++ b/frontend/app/components/SettingsBar.tsx
@@ -49,20 +49,6 @@ export default function SettingsBar() {
flexWrap: "wrap",
}}
>
-
- {user ? `${user.email}` : "Not signed in"}
-
-
-
- {!user ? (
- <>
- nav.navigate("SignUp")} />
- nav.navigate("SignIn")} />
- >
- ) : (
-
- )}
-
diff --git a/frontend/app/screens/SignInScreen.tsx b/frontend/app/screens/SignInScreen.tsx
deleted file mode 100644
index 1a7c4f9..0000000
--- a/frontend/app/screens/SignInScreen.tsx
+++ /dev/null
@@ -1,65 +0,0 @@
-import React, { useState } from "react";
-import { View, Text, TextInput, Button } from "react-native";
-import { useAuth } from "../context/Auth";
-import { useNavigation } from "@react-navigation/native";
-
-const FORM_MAX_W = 480; // keep consistent with SignUp
-
-export default function SignInScreen() {
- const { signIn } = useAuth();
- const nav = useNavigation();
- const [email, setEmail] = useState("");
- const [pw, setPw] = useState("");
- const [err, setErr] = useState(null);
- const [loading, setLoading] = useState(false);
-
- const onSubmit = async () => {
- setErr(null); setLoading(true);
- try {
- await signIn(email.trim(), pw);
- nav.navigate("Home");
- } catch (e: any) {
- setErr(String(e.message || e));
- } finally {
- setLoading(false);
- }
- };
-
- return (
-
- {/* Center column with max width */}
-
-
- Sign In
- {err && {err}}
-
-
-
- Email
-
-
-
- Password
-
-
-
-
-
-
-
-
- );
-}
diff --git a/frontend/app/screens/SignUpScreen.tsx b/frontend/app/screens/SignUpScreen.tsx
deleted file mode 100644
index 219d091..0000000
--- a/frontend/app/screens/SignUpScreen.tsx
+++ /dev/null
@@ -1,65 +0,0 @@
-import React, { useState } from "react";
-import { View, Text, TextInput, Button } from "react-native";
-import { useAuth } from "../context/Auth";
-import { useNavigation } from "@react-navigation/native";
-
-const FORM_MAX_W = 480; // limit form width on wide screens
-
-export default function SignUpScreen() {
- const { signUp } = useAuth();
- const nav = useNavigation();
- const [email, setEmail] = useState("");
- const [pw, setPw] = useState("");
- const [err, setErr] = useState(null);
- const [loading, setLoading] = useState(false);
-
- const onSubmit = async () => {
- setErr(null); setLoading(true);
- try {
- await signUp(email.trim(), pw);
- nav.navigate("Home");
- } catch (e: any) {
- setErr(String(e.message || e));
- } finally {
- setLoading(false);
- }
- };
-
- return (
-
- {/* Center column: keeps content centered and narrow on desktop */}
-
-
- Sign Up
- {err && {err}}
-
-
-
- Email
-
-
-
- Password (min 6)
-
-
-
-
-
-
-
-
- );
-}