We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47c2fc3 commit fae714bCopy full SHA for fae714b
apps/web/pages/[user]/[type].tsx
@@ -187,7 +187,7 @@ export const getServerSideProps = async (context: GetServerSidePropsContext) =>
187
return {
188
props: {
189
profile: {
190
- name: user.name,
+ name: user.name || user.username,
191
image: user.avatar,
192
slug: user.username,
193
theme: user.theme,
apps/web/pages/team/[slug]/[type].tsx
@@ -100,7 +100,7 @@ export const getServerSideProps = async (context: GetServerSidePropsContext) =>
100
101
102
103
- name: team.name,
+ name: team.name || team.slug,
104
slug: team.slug,
105
image: team.logo,
106
theme: null,
0 commit comments