summaryrefslogtreecommitdiff
path: root/packages/frontend/src/components/MkEmojiPicker.vue
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2025-04-12 11:54:56 +0100
committerdakkar <dakkar@thenautilus.net>2025-04-12 11:54:56 +0100
commitdbb04c6c0a05f63e03f793fbf839ef06a5a02198 (patch)
tree6cd0899689c1cfdc86c0b1f313ee03e06440308f /packages/frontend/src/components/MkEmojiPicker.vue
parentupdate SkOldNoteWindow (diff)
downloadsharkey-dbb04c6c0a05f63e03f793fbf839ef06a5a02198.tar.gz
sharkey-dbb04c6c0a05f63e03f793fbf839ef06a5a02198.tar.bz2
sharkey-dbb04c6c0a05f63e03f793fbf839ef06a5a02198.zip
fix type in MkEmojiPicker
Diffstat (limited to 'packages/frontend/src/components/MkEmojiPicker.vue')
-rw-r--r--packages/frontend/src/components/MkEmojiPicker.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/components/MkEmojiPicker.vue b/packages/frontend/src/components/MkEmojiPicker.vue
index 880f12f3fb..6b1add81bc 100644
--- a/packages/frontend/src/components/MkEmojiPicker.vue
+++ b/packages/frontend/src/components/MkEmojiPicker.vue
@@ -190,7 +190,7 @@ function parseAndMergeCategories(input: string, root: CustomEmojiFolderTree): Cu
const parts = input.split('/').map(p => p.trim());
let currentNode: CustomEmojiFolderTree = root;
- const currentPath = [];
+ const currentPath = [] as string[];
for (const part of parts) {
currentPath.push(part);
let existingNode = currentNode.children.find((node) => node.value === part);