Skip to content

Commit

Permalink
Email Privacy
Browse files Browse the repository at this point in the history
  • Loading branch information
maxtyson123 committed Nov 9, 2023
1 parent dd320f4 commit 255d955
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions website/src/pages/account/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export function AccountPage({dataID}: AccountPageProps){
alt={userName ? userName : ""} fill={true}/>
</div>
<h1> {userName}</h1>
<h2> {userEmail}</h2>
{ myAccount && <h2> {userEmail}</h2> }
<h2> {userRole}</h2>
</div>

Expand Down Expand Up @@ -289,7 +289,7 @@ export function AccountPage({dataID}: AccountPageProps){
</tbody>
</table>

<button className={styles.createButton} onClick={() => router.push("/plants/create")}>Create Plant</button>
{editor && <button className={styles.createButton} onClick={() => router.push("/plants/create")}>Create Plant</button> }

</div>
</DropdownSection>
Expand Down

1 comment on commit 255d955

@vercel
Copy link

@vercel vercel bot commented on 255d955 Nov 9, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.