boole shit

This commit is contained in:
Violet Caulfield
2024-10-21 07:47:57 -05:00
parent dddb339fc8
commit 89f9db8933

View File

@@ -22,7 +22,7 @@ export default function Login(): React.JSX.Element {
return (
<Stack.Navigator screenOptions={{ headerShown: false }}>
{
(_.isUndefined(serverAddress) && _.isUndefined(apiClient)) ? (
(_.isUndefined(serverAddress) || _.isUndefined(apiClient)) ? (
<Stack.Screen
name="ServerAddress"
options={{
@@ -33,7 +33,7 @@ export default function Login(): React.JSX.Element {
/>
) : (
(_.isUndefined(username) && _.isUndefined(clientUsername)) ? (
(_.isUndefined(username) || _.isUndefined(clientUsername)) ? (
<Stack.Screen
name="ServerAuthentication"
options={{