From 5b2d911d3c69a6eced873e19657202b610b714c2 Mon Sep 17 00:00:00 2001 From: Skyler Grey Date: Wed, 15 Mar 2023 00:37:43 +0000 Subject: [PATCH] Prettier version differences mean this styles differently on CI vs locally: this should be fixed posthaste --- src/utils/getEmojiByName.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/getEmojiByName.ts b/src/utils/getEmojiByName.ts index 56f1444..ebcb257 100644 --- a/src/utils/getEmojiByName.ts +++ b/src/utils/getEmojiByName.ts @@ -18,7 +18,7 @@ function getEmojiPaths(obj: EmojisIndex, path: string[] = []) { } getEmojiPaths(emojis); -function getEmojiByName(name: typeof EMOJIPATHS[number], format?: string): string { +function getEmojiByName(name: (typeof EMOJIPATHS)[number], format?: string): string { const parts = name.split("."); let id: string | EmojisIndex | EmojisIndex[] | undefined = emojis; for (const part of parts) {