MCPcopy Create free account
hub / github.com/dailydotdev/apps / getPostTitle

Function getPostTitle

packages/shared/src/components/Feed.spec.tsx:301–302  ·  view source on GitHub ↗
(post: Pick<Post, 'title'>, label: string)

Source from the content-addressed store, hash-verified

299};
300
301const getPostTitle = (post: Pick<Post, 'title'>, label: string): string =>
302 getRequiredValue(post.title, `Expected ${label} post title`);
303
304const getPostCreatedAt = (
305 post: Pick<Post, 'createdAt'>,

Callers 1

Feed.spec.tsxFile · 0.85

Calls 1

getRequiredValueFunction · 0.85

Tested by

no test coverage detected