Skip to content

Commit

Permalink
Merge pull request #135 from daithihearn/name-formatting
Browse files Browse the repository at this point in the history
Name formatting
  • Loading branch information
daithihearn authored Feb 27, 2023
2 parents 7778a3a + e956737 commit 00062f4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "frontend",
"version": "5.3.2",
"version": "5.3.3",
"description": "React frontend for the Cards 110",
"author": "Daithi Hearn",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion public/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"short_name": "Cards 110",
"name": "Cards 110",
"version": "5.3.2",
"version": "5.3.3",
"icons": [
{
"src": "./assets/favicon.png",
Expand Down
3 changes: 2 additions & 1 deletion src/utils/FormattingUtils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
export const FormatName = (name: string) =>
name
.split(" ")
.split("@")[0]
.split(RegExp("[ .,]+"))
.map(word =>
word.length < 3
? word
Expand Down

0 comments on commit 00062f4

Please sign in to comment.