From f3eb5d0aea19448beb4db27a980a148150f5de50 Mon Sep 17 00:00:00 2001 From: Daithi Hearn Date: Mon, 27 Feb 2023 18:22:11 +0100 Subject: [PATCH 1/2] Improving name formatting --- src/utils/FormattingUtils.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/FormattingUtils.ts b/src/utils/FormattingUtils.ts index 63f2398..bcc5404 100644 --- a/src/utils/FormattingUtils.ts +++ b/src/utils/FormattingUtils.ts @@ -1,6 +1,7 @@ export const FormatName = (name: string) => name - .split(" ") + .split("@")[0] + .split(RegExp("[ .,]+")) .map(word => word.length < 3 ? word From e9567377f8220b2fbee35148f9b8d9b6b2a70912 Mon Sep 17 00:00:00 2001 From: Daithi Hearn Date: Mon, 27 Feb 2023 18:22:18 +0100 Subject: [PATCH 2/2] Update latest version (5.3.3) --- package.json | 2 +- public/manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 578c7a8..c86cb22 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/public/manifest.json b/public/manifest.json index 34b3139..eb27c09 100644 --- a/public/manifest.json +++ b/public/manifest.json @@ -1,7 +1,7 @@ { "short_name": "Cards 110", "name": "Cards 110", - "version": "5.3.2", + "version": "5.3.3", "icons": [ { "src": "./assets/favicon.png",