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

Function getPostTitle

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

Source from the content-addressed store, hash-verified

361};
362
363const getPostTitle = (post: Pick<Post, 'title'>, label: string): string =>
364 getRequiredValue(post.title, `Expected ${label} post title`);
365
366const getPostCreatedAt = (
367 post: Pick<Post, 'createdAt'>,

Callers 1

Feed.spec.tsxFile · 0.70

Calls 1

getRequiredValueFunction · 0.85

Tested by

no test coverage detected