diff --git a/components/tag/TagsInput.js b/components/tag/TagsInput.js
index 7b46fd407c8..be11cf06d90 100644
--- a/components/tag/TagsInput.js
+++ b/components/tag/TagsInput.js
@@ -1,5 +1,6 @@
import XMarkIcon from "@heroicons/react/20/solid/XMarkIcon";
import Input from "../form/Input";
+import { ReactSortable } from "react-sortablejs";
import Notification from "@components/Notification";
export default function TagsInput({
@@ -7,6 +8,7 @@ export default function TagsInput({
onTagAdd,
onTagRemove,
inputRef,
+ setTags,
showNotification,
setShowNotification,
}) {
@@ -49,7 +51,7 @@ export default function TagsInput({
const tagItems = tags.map((tag, i) => (
{tag}
-
@@ -94,7 +100,7 @@ export default function TagsInput({
onKeyDown={handleKeyDown}
/>
-
+
>
);
}
diff --git a/pages/account/manage/event/[[...data]].js b/pages/account/manage/event/[[...data]].js
index 2b373542351..e29091401ce 100644
--- a/pages/account/manage/event/[[...data]].js
+++ b/pages/account/manage/event/[[...data]].js
@@ -340,6 +340,7 @@ export default function ManageEvent({ BASE_URL, event }) {
onTagAdd={handleTagAdd}
onTagRemove={handleTagRemove}
tags={tags}
+ setTags={setTags}
inputRef={tagInputRef}
showNotification={showNotification}
setShowNotification={setShowNotification}
diff --git a/pages/account/manage/profile.js b/pages/account/manage/profile.js
index 2686899fa92..d055b57fbd0 100644
--- a/pages/account/manage/profile.js
+++ b/pages/account/manage/profile.js
@@ -252,6 +252,7 @@ export default function Profile({ BASE_URL, profile, fileExists }) {
onTagRemove={handleTagRemove}
tags={tags}
inputRef={tagInputRef}
+ setTags={setTags}
showNotification={showNotification}
setShowNotification={setShowNotification}
/>