Skip to content

Commit

Permalink
responds to feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
rahihazra committed Oct 24, 2023
1 parent 82181bf commit 80d9fa4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/app/create-profile/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function Profile() {
const [lastName, setLastName] = useState<string>('');

const handleInsert = async () => {
if (!firstName && !lastName) return;
if (!firstName || !lastName) return;
const newProfile: Profile = {
// hardcoded values for now
user_id: crypto.randomUUID() as UUID,
Expand Down
2 changes: 0 additions & 2 deletions src/app/profile/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,6 @@ export default function Page() {
await updateProfile(mockProfile.user_id, {
hours_per_month: -200, // Update the roles field with new data
});

console.log('test');
})();
}, []);

Expand Down

0 comments on commit 80d9fa4

Please sign in to comment.