Skip to content

Commit 002363b

Browse files
committed
Add type prop to SidebarCard and ProfileDetails components in PublisherPage
1 parent 6c662d0 commit 002363b

File tree

1 file changed

+2
-2
lines changed
  • app/[locale]/(user)/publishers/[publisherSlug]

1 file changed

+2
-2
lines changed

app/[locale]/(user)/publishers/[publisherSlug]/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const PublisherPage = () => {
6262
<Spinner color="highlight" />
6363
</div>
6464
) : (
65-
<SidebarCard data={userInfo?.data?.userById} />
65+
<SidebarCard data={userInfo?.data?.userById} type="Publisher" />
6666
)}
6767
</div>
6868
<div className="w-full">
@@ -71,7 +71,7 @@ const PublisherPage = () => {
7171
<Spinner color="highlight" />
7272
</div>
7373
) : (
74-
<ProfileDetails data={userInfo?.data?.userById} />
74+
<ProfileDetails data={userInfo?.data?.userById} type="Publisher" />
7575
)}
7676
</div>
7777
</div>

0 commit comments

Comments
 (0)