completionId: cgen-16378ab6ea6246518e5261db592a9360
cgen-16378ab6ea6246518e5261db592a9360
This commit is contained in:
parent
35133d884b
commit
1f7b3801eb
1 changed files with 5 additions and 4 deletions
|
|
@ -131,15 +131,16 @@ const SubdomainPassport = () => {
|
||||||
data.type === "creator" &&
|
data.type === "creator" &&
|
||||||
"user" in data
|
"user" in data
|
||||||
) {
|
) {
|
||||||
|
const user = data.user as any;
|
||||||
return (
|
return (
|
||||||
<Layout>
|
<Layout>
|
||||||
<div className="container mx-auto px-4 max-w-5xl space-y-10">
|
<div className="container mx-auto px-4 max-w-5xl space-y-10">
|
||||||
<PassportSummary
|
<PassportSummary
|
||||||
profile={data.user as any}
|
profile={user}
|
||||||
achievements={[]}
|
achievements={user.achievements || []}
|
||||||
interests={[]}
|
interests={user.interests || []}
|
||||||
isSelf={false}
|
isSelf={false}
|
||||||
linkedProviders={[]}
|
linkedProviders={user.linkedProviders || []}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue