Skip to content

Commit

Permalink
Removed SubmitButton.tsx, replaced button with preexisting LargeTextB…
Browse files Browse the repository at this point in the history
…utton.tsx
  • Loading branch information
jqiu0601 committed Oct 29, 2024
1 parent ee96ac2 commit 191ae5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 34 deletions.
32 changes: 0 additions & 32 deletions client/app/components/auth/SubmitButton.tsx

This file was deleted.

4 changes: 2 additions & 2 deletions client/app/screens/auth/EmailVerificationScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
TextInput,
TouchableOpacity,
} from "react-native";
import SubmitButton from "../../components/auth/SubmitButton";
import LargeTextButton from "../../components/auth/LargeTextButton";

const EmailVerificationScreen = ({ navigation }: any) => {
const maxCodeLength = 6;
Expand Down Expand Up @@ -77,7 +77,7 @@ const EmailVerificationScreen = ({ navigation }: any) => {
</View>

<View style={styles.button_container}>
<SubmitButton onPress={handleSubmit} />
<LargeTextButton onPress={handleSubmit} buttonText="Submit" />
</View>

{errorMessage ? (
Expand Down

0 comments on commit 191ae5b

Please sign in to comment.