We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af8fad6 commit 939b173Copy full SHA for 939b173
src/components/auth-required/main/Section/index.tsx
@@ -18,7 +18,7 @@ export const Section = (p: PostType) => {
18
if (!username) {
19
throw new UserNameNotFound();
20
}
21
- const url = `${process.env.NEXT_PUBLIC_VELOG_URL}/@${username || ''}/${p.slug}`;
+ const url = `${process.env.NEXT_PUBLIC_VELOG_URL}/@${username}/${p.slug}`;
22
23
return (
24
<section className="flex flex-col w-full h-fit relative">
0 commit comments