Skip to content

Commit 647b28c

Browse files
committed
chore: resolve new rules added by ESLint v10
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent 5cce4d1 commit 647b28c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/NcRelatedResourcesPanel/NcRelatedResourcesPanel.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ export default {
176176
},
177177
178178
url() {
179-
let providerId = null
180-
let itemId = null
179+
let providerId
180+
let itemId
181181
182182
if (this.isFiles) {
183183
providerId = 'files'

src/functions/emoji/emoji.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export function emojiSearch(query: string, maxResults: number = 10): object[] {
6969
* @param emojiOrEmojiData.id the emoji ID from emoji index. Mandatory property to modify 'frequently' array
7070
*/
7171
export function emojiAddRecent(emojiOrEmojiData: EmojiData | string | null): void {
72-
let emojiData: EmojiData | null = null
72+
let emojiData: EmojiData | null
7373

7474
if (typeof emojiOrEmojiData === 'string') {
7575
// If this is the first call of function - initialize EmojiIndex

0 commit comments

Comments
 (0)