Skip to content

Commit

Permalink
Fix description
Browse files Browse the repository at this point in the history
  • Loading branch information
SnowCait committed Nov 12, 2024
1 parent 73b21c9 commit 27b2cce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/src/routes/(app)/[slug=npub]/+layout.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const load: LayoutServerLoad<Data> = async ({ params }) => {
relays,
metadataEvent,
title: `${appName} - ${metadata?.displayName ?? 'ghost'}`,
description: metadata?.about ?? ''
description: metadata?.about.replaceAll('\n', ' ') ?? ''
};
if (metadata?.picture) {
data.image = metadata.picture;
Expand Down

0 comments on commit 27b2cce

Please sign in to comment.