Skip to content

Commit

Permalink
fix: component usage cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
samderanova committed Dec 12, 2023
1 parent 6756077 commit b31f583
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
6 changes: 3 additions & 3 deletions apps/site/src/app/demo/Demo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ async function Demo() {
return (
<div>
<p>Demo: {message}</p>
<form method="post" action="/api/demo/user" className="mb-10">
<form action="/api/demo/user" className="mb-10">
<input
type="text"
required
id="name"
name="name"
id="search_name"
name="search_name"
style={{ color: "black" }}
/>
<br />
Expand Down
6 changes: 1 addition & 5 deletions apps/site/src/app/demo/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
import Demo from "./Demo";

export default function DemoPage() {
return <Demo />;
}
export { default as Demo } from "./Demo";

0 comments on commit b31f583

Please sign in to comment.