Skip to content

Conversation

@DaniilSmirnov
Copy link

No description provided.

@DaniilSmirnov DaniilSmirnov requested a review from a team as a code owner September 5, 2025 17:54
export const toSentenceCase = (str: string): string => {
if (str.includes('@')) return str

if (str.includes('.')) return str
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That would mean that if a sentence ends with a dot - we don not capitalise the first letter. Is this expected?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. Usually names doesnt contains special symbols ofc

@DaniilSmirnov DaniilSmirnov merged commit 7c73f6e into master Sep 8, 2025
7 checks passed
@DaniilSmirnov DaniilSmirnov deleted the di/frontend-fixes/QA-19114/QA-19115 branch September 8, 2025 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants