From fc3840f43835d7877c01552571ba0ec7ddbba3cd Mon Sep 17 00:00:00 2001 From: felix montanez Date: Sun, 23 Jul 2023 21:21:35 -0700 Subject: [PATCH] updates --- frontend/src/App.js | 4 ++++ frontend/src/components/Card.js | 4 ++-- frontend/src/hooks/register.js | 27 +++++++++++++++------------ frontend/src/hooks/stories.js | 2 +- 4 files changed, 22 insertions(+), 15 deletions(-) diff --git a/frontend/src/App.js b/frontend/src/App.js index 7d4b277..c06471c 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -33,6 +33,10 @@ const App = () => { + + + + diff --git a/frontend/src/components/Card.js b/frontend/src/components/Card.js index 7191659..bc08582 100644 --- a/frontend/src/components/Card.js +++ b/frontend/src/components/Card.js @@ -52,11 +52,11 @@ export default function UserStoryCard(props) { - {props.user.lastInitial} + {props.user.firstName} } title={props.title} - subheader={props.user.firstName} + subheader={props.user.lastInitial} /> { const [formData, setFormData] = useState({ firstName: "", @@ -32,31 +38,28 @@ export const Register = () => { return ( -

Register Form

- {state.isAuthenticated}
handleSubmit(e)}> - onChange(e)} required /> - onChange(e)} required autoComplete="false" /> - { onChange={(e) => onChange(e)} autoComplete="false" /> - { placeholder="Password" /> - { placeholder="Phone (optional)" />
- +
); diff --git a/frontend/src/hooks/stories.js b/frontend/src/hooks/stories.js index 468a716..b490be8 100644 --- a/frontend/src/hooks/stories.js +++ b/frontend/src/hooks/stories.js @@ -78,7 +78,7 @@ export const Stories = (props) => { Interaction Design.org

- Add Story + Add Story
    {stories !== null &&