Skip to content

Commit

Permalink
rolled back convert button configs
Browse files Browse the repository at this point in the history
  • Loading branch information
mCodex committed Nov 27, 2020
1 parent 8783e48 commit 556f1bc
Show file tree
Hide file tree
Showing 2 changed files with 268 additions and 289 deletions.
10 changes: 3 additions & 7 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, { useMemo, useState } from 'react';
import { Formik, Form, FormikProps } from 'formik';
import { Form, Formik, FormikProps } from 'formik';
import { fromUnixTime, format, getUnixTime } from 'date-fns';
import { FaClock } from 'react-icons/fa';
import { FiRepeat } from 'react-icons/fi';
Expand Down Expand Up @@ -46,7 +46,7 @@ const Home: React.FC = () => {
handleBlur,
values,
}: FormikProps<FormValues>) => (
<Form>
<Form onSubmit={handleSubmit}>
<Input
icon={FaClock}
name="timestamp"
Expand All @@ -56,11 +56,7 @@ const Home: React.FC = () => {
onBlur={handleBlur}
value={values.timestamp}
/>
<Button
data-testid="submitButton"
type="button"
onClick={() => handleSubmit()}
>
<Button data-testid="submitButton" type="submit">
Convert
</Button>

Expand Down
Loading

0 comments on commit 556f1bc

Please sign in to comment.