Skip to content

Commit

Permalink
Formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
necrodome committed Feb 7, 2025
1 parent b74ee6b commit a3ca186
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/components/DynamicTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ export default function DynamicTable({ hrefFn, dbName, headers, rows, th = "_id"
</thead>
<tbody className="bg-fp-bg-00 border border-fp-dec-00 text-14">
{rows.map((fields) => (
<tr
key={fields._id}
<tr
key={fields._id}
onClick={() => handleRowClick(fields)}
className="hover:bg-fp-bg-02 border-b border-fp-dec-00 cursor-pointer"
>
Expand Down
14 changes: 11 additions & 3 deletions src/pages/better.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,19 @@ export function Better() {
<label htmlFor="email">Email</label>
<input type="email" value={email} onChange={(e) => setEmail(e.target.value)} />
{/* <input type="file" onChange={(e) => setImage(e.target.files?.[0])} /> */}
<button type="button" onClick={signUp}>Sign Up</button>
<button type="button" onClick={signUp}>
Sign Up
</button>

<button type="button" onClick={signIn}>Sign In</button>
<button type="button" onClick={signIn}>
Sign In
</button>

{session.data && <button type="button" onClick={signOut}>Sign Out</button>}
{session.data && (
<button type="button" onClick={signOut}>
Sign Out
</button>
)}
</div>
);
}

0 comments on commit a3ca186

Please sign in to comment.