From bde2fe9fb21535bddad9580679bb5dc77a6a5536 Mon Sep 17 00:00:00 2001
From: Baidyanath Sarkar <73095526+badrivlog@users.noreply.github.com>
Date: Thu, 23 Nov 2023 19:57:09 +0530
Subject: [PATCH 1/3] fix: duplicate tags issue using set constructor (#9820)
changes made:
* replaced the standart array used for storing tags with a `Set` constructor.
* updated the documentation.
---
pages/account/manage/event/[[...data]].js | 4 ++--
pages/account/manage/profile.js | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/pages/account/manage/event/[[...data]].js b/pages/account/manage/event/[[...data]].js
index 0c584a046cf..1afb2ce129f 100644
--- a/pages/account/manage/event/[[...data]].js
+++ b/pages/account/manage/event/[[...data]].js
@@ -176,7 +176,7 @@ export default function ManageEvent({ BASE_URL, event }) {
};
const handleTagAdd = (newTag) =>
- setTags((prevState) => [...prevState, newTag]);
+ setTags((prevState) => [...new Set([...prevState, newTag])]);
const handleTagRemove = (tagToRemove) =>
setTags(tags.filter((tag) => tag !== tagToRemove));
@@ -343,7 +343,7 @@ export default function ManageEvent({ BASE_URL, event }) {
inputRef={tagInputRef}
/>
- Separate tags with commas.
+ Separate tags with commas (tags cannot be duplicated).
diff --git a/pages/account/manage/profile.js b/pages/account/manage/profile.js
index d727f2cd7fb..b0e11cf1b62 100644
--- a/pages/account/manage/profile.js
+++ b/pages/account/manage/profile.js
@@ -81,7 +81,7 @@ export default function Profile({ BASE_URL, profile, fileExists }) {
const { pronouns } = config;
const handleTagAdd = (newTag) => {
- setTags((prevState) => [...prevState, newTag]);
+ setTags((prevState) => [...new Set([...prevState, newTag])]);
};
const handleTagRemove = (tagToRemove) => {
@@ -253,7 +253,7 @@ export default function Profile({ BASE_URL, profile, fileExists }) {
inputRef={tagInputRef}
/>
- Separate tags with commas.
+ Separate tags with commas (tags cannot be duplicated).
From efa2461d47a40addff5264b94b1812350c539808 Mon Sep 17 00:00:00 2001
From: Conventional Changelog Action
Date: Thu, 23 Nov 2023 14:27:32 +0000
Subject: [PATCH 2/3] chore(release): v2.90.1 [skip ci]
---
CHANGELOG.md | 18 +++++++++---------
config/app.json | 2 +-
package-lock.json | 2 +-
package.json | 2 +-
4 files changed, 12 insertions(+), 12 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c42ae883a4c..aa84e1e5681 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,12 @@
+## [2.90.1](https://github.com/EddieHubCommunity/BioDrop/compare/v2.90.0...v2.90.1) (2023-11-23)
+
+
+### Bug Fixes
+
+* duplicate tags issue using set constructor ([#9820](https://github.com/EddieHubCommunity/BioDrop/issues/9820)) ([bde2fe9](https://github.com/EddieHubCommunity/BioDrop/commit/bde2fe9fb21535bddad9580679bb5dc77a6a5536))
+
+
+
# [2.90.0](https://github.com/EddieHubCommunity/BioDrop/compare/v2.89.6...v2.90.0) (2023-11-22)
@@ -34,12 +43,3 @@
-## [2.89.3](https://github.com/EddieHubCommunity/BioDrop/compare/v2.89.2...v2.89.3) (2023-11-19)
-
-
-### Bug Fixes
-
-* resolve mobile keyboard fluctuation during search ([#9248](https://github.com/EddieHubCommunity/BioDrop/issues/9248)) ([999602b](https://github.com/EddieHubCommunity/BioDrop/commit/999602bae3a2b267a68fd2d8e55282bbfe979501))
-
-
-
diff --git a/config/app.json b/config/app.json
index cef00d403d5..55e990d32f3 100644
--- a/config/app.json
+++ b/config/app.json
@@ -1,5 +1,5 @@
{
- "version": "2.90.0",
+ "version": "2.90.1",
"alerts": [],
"layouts": [
"classic",
diff --git a/package-lock.json b/package-lock.json
index d061c5df61e..afee56d6a9d 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,6 +1,6 @@
{
"name": "biodrop",
- "version": "2.90.0",
+ "version": "2.90.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
diff --git a/package.json b/package.json
index 1ed88e4da59..ccc0342618f 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "biodrop",
- "version": "2.90.0",
+ "version": "2.90.1",
"private": false,
"homepage": "https://biodrop.io",
"engines": {
From e3767d0fca2e0ba37d4c5159c972283388cf8c6c Mon Sep 17 00:00:00 2001
From: Aishanya <71988005+Aishanya12@users.noreply.github.com>
Date: Thu, 23 Nov 2023 20:46:35 +0530
Subject: [PATCH 3/3] data: Aishanya12.json (#9825)
---
data/Aishanya12.json | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
create mode 100644 data/Aishanya12.json
diff --git a/data/Aishanya12.json b/data/Aishanya12.json
new file mode 100644
index 00000000000..3d25c4e3b9a
--- /dev/null
+++ b/data/Aishanya12.json
@@ -0,0 +1,29 @@
+{
+ "name": "Aishanya Alankrit",
+ "bio": "A Web developer | an Artist ",
+ "tags": [
+ "JavaScript",
+ "React JS",
+ "CSS",
+ "HTML",
+ "SQL",
+ "Excel",
+ "C++"
+ ],
+ "links": [
+ {
+ "group": "Socials primary",
+ "name" : "Linkdein",
+ "url": "https://www.linkedin.com/in/aishanya-alankrit-b7722616b/",
+ "icon": "FaLink"
+ },
+ {
+ "group": "Socials follow",
+ "name": "instagram: Follow me",
+ "url": "https://www.instagram.com/aishanyart/",
+ "icon": "FaInstagram",
+ "color": "#00ACEE"
+ }
+ ]
+
+}