From ecb0e6a59d095da74468e3aae63049d3bf06b343 Mon Sep 17 00:00:00 2001 From: myl7 Date: Tue, 10 May 2022 11:11:36 +0800 Subject: [PATCH] fix imports from fontawesome-common-types --- utils/getFileIcon.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/getFileIcon.ts b/utils/getFileIcon.ts index 8b4318f..7c6d6aa 100644 --- a/utils/getFileIcon.ts +++ b/utils/getFileIcon.ts @@ -1,4 +1,4 @@ -import type { IconPrefix, IconName } from '@fortawesome/fontawesome-common-types' +import type { IconPrefix, IconName } from '@fortawesome/fontawesome-svg-core' const icons: { [key: string]: [IconPrefix, IconName] } = { image: ['far', 'file-image'],