Skip to content

Commit

Permalink
feat: migrate the EmailAddress component
Browse files Browse the repository at this point in the history
  • Loading branch information
BrickheadJohnny committed Jul 8, 2024
1 parent 50ec887 commit 72c6984
Show file tree
Hide file tree
Showing 8 changed files with 386 additions and 149 deletions.
130 changes: 130 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@
"@nouns/assets": "^0.4.2",
"@phosphor-icons/react": "^2.1.7",
"@radix-ui/react-accordion": "^1.2.0",
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-alert-dialog": "^1.1.1",
"@radix-ui/react-dialog": "^1.1.1",
"@radix-ui/react-focus-scope": "^1.1.0",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-toast": "^1.2.1",
"@radix-ui/react-toggle": "^1.1.0",
Expand Down Expand Up @@ -78,6 +78,7 @@
"framer-motion": "^7.10.3",
"fuels": "^0.89.1",
"idb-keyval": "^6.2.0",
"input-otp": "^1.2.4",
"jotai": "^2.7.0",
"js-confetti": "^0.11.0",
"lexical": "^0.12.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import rewards from "rewards"
import { PlatformName } from "types"
import useDelegateVaults from "../hooks/useDelegateVaults"
import { AccountSection, AccountSectionTitle } from "./AccountSection"
import EmailAddress from "./EmailAddress"
import FarcasterProfile from "./FarcasterProfile"
import { SocialAccount } from "./SocialAccount"

Expand Down Expand Up @@ -31,9 +32,8 @@ const AccountConnections = () => {
{orderedSocials.map((platform, i) => (
<>
{platform === "EMAIL" ? (
<></>
) : // <EmailAddress key="EMAIL" />
platform === "FARCASTER" ? (
<EmailAddress key="EMAIL" />
) : platform === "FARCASTER" ? (
<FarcasterProfile key="FARCASTER" />
) : (
<SocialAccount key={platform} type={platform} />
Expand Down
Loading

0 comments on commit 72c6984

Please sign in to comment.