Skip to content

Commit

Permalink
Fix validation
Browse files Browse the repository at this point in the history
  • Loading branch information
makotech222 committed Feb 13, 2023
1 parent c187124 commit 5f468f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/shared/components/home/emojis-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ export class EmojiForm extends Component<any, EmojiFormState> {

handleEditEmojiClick(cv: CustomEmojiViewForm) {
const keywords = cv.keywords.split(" ").filter(x => x.length > 0);
const uniqueKeywords = [...new Set(keywords)];
const uniqueKeywords = Array.from(new Set(keywords));
if (cv.id != 0) {
const editForm: EditCustomEmoji = {
id: cv.id,
Expand Down

0 comments on commit 5f468f1

Please sign in to comment.