Fix: Change title strings (#1212)

* change title strings

* add conditional operator
This commit is contained in:
Sunil Kumar Behera
2023-08-17 01:18:35 +05:30
committed by GitHub
parent cd1bf14925
commit 5890354d21
4 changed files with 4 additions and 6 deletions

View File

@ -73,7 +73,7 @@ export function ActivityTitle({
<StyledEditableTitleInput
autoComplete="off"
autoFocus
placeholder={`${type} title (optional)`}
placeholder={`${type} title`}
onChange={(event) => onTitleChange(event.target.value)}
value={title}
completed={completed}

View File

@ -86,7 +86,7 @@ export function TaskRow({ task }: { task: TaskForList }) {
/>
</div>
<StyledTaskTitle completed={task.completedAt !== null}>
{task.title ?? '(No title)'}
{task.title ?? 'Task Title'}
</StyledTaskTitle>
<StyledTaskBody>
<OverflowingTextWithTooltip text={body} />