Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: profile farcaster #117

Merged
merged 1 commit into from
Sep 21, 2023
Merged

feat: profile farcaster #117

merged 1 commit into from
Sep 21, 2023

Conversation

Tonyce
Copy link
Member

@Tonyce Tonyce commented Sep 21, 2023

No description provided.

@@ -38,7 +43,11 @@ export default function ProfileInfoCard({
}: ProfileInfoCardProps) {
const session = useSession();
const [isOpenEdit, setIsOpenEdit] = useState(false);

const { currFid, farcasterUserData } = useFarcasterCtx();
Copy link
Member

Choose a reason for hiding this comment

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

这里的fid 应该是通过address参数拿到的fid, 不是当前登录的fid,这个组件不仅是当前用户的ProfileInfoCard, 还用来渲染其它用户的ProfileInfoCard

Copy link
Member Author

Choose a reason for hiding this comment

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

支持 profile/:address 的时候再做一个 adapter 就可以

@Tonyce Tonyce merged commit 6a723d8 into u3-dev Sep 21, 2023
@Tonyce Tonyce deleted the F-profileFcastInfo-ttang branch September 21, 2023 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants