Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BIG REFACTOR #175

Closed
wants to merge 3 commits into from
Closed

BIG REFACTOR #175

wants to merge 3 commits into from

Conversation

hbrooks
Copy link
Collaborator

@hbrooks hbrooks commented Jan 25, 2024

Ellipsis ⚠️ This PR description was created by Ellipsis for commit 8fc82a7.

Summary:

This PR involves a major refactoring that includes deleting and replacing components, renaming components, moving components to different directories, and updating file paths.

Key points:

  • Deleted ErrorAlert component and replaced with a more generic Error component
  • Refactored signUp function in SignUpForm to an arrow function
  • Renamed DashboardMode component to Home
  • Moved and renamed ErrorMode component to a shared directory
  • Moved ResponsesTable component up one directory level
  • Updated file paths in forms/[id] and home pages

Generated with ❤️ by ellipsis.dev

Copy link

vercel bot commented Jan 25, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
talk-form-ai ✅ Ready (Inspect) Visit Preview Jan 25, 2024 4:59am

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few small fixes required, otherwise good

Summary:

This PR involves a major refactoring that includes deleting and replacing components, renaming components, moving components to different directories, and updating file paths.

Key points:

  • Deleted ErrorAlert component and replaced with a more generic Error component
  • Refactored signUp function in SignUpForm to an arrow function
  • Renamed DashboardMode component to Home
  • Moved and renamed ErrorMode component to a shared directory
  • Moved ResponsesTable component up one directory level
  • Updated file paths in forms/[id] and home pages

Something look wrong? You can customize Ellipsis' behavior when reviewing code by editing the config file for this repository.

Generated with ❤️ by ellipsis.dev

<form
className="space-y-6"
action="#"
method="POST"
onSubmit={onFormSubmit}
onSubmit={() => onFormSubmit}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The onFormSubmit function is not being called correctly. It should be passed as a reference, not invoked. Change onSubmit={() => onFormSubmit} to onSubmit={onFormSubmit}.

@hbrooks hbrooks closed this Jan 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant