From bc0c168c0b0feae96d6a1848c3a356d846e2cbb5 Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Wed, 23 Nov 2022 17:00:08 +0100 Subject: [PATCH] fix(Icon): eslint ignore --- src/runtime/components/elements/Icon.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/runtime/components/elements/Icon.vue b/src/runtime/components/elements/Icon.vue index 78b523f97a..fe4a6dd254 100644 --- a/src/runtime/components/elements/Icon.vue +++ b/src/runtime/components/elements/Icon.vue @@ -20,6 +20,7 @@ const props = defineProps({ const nuxtApp = useNuxtApp() const state = useState | Promise | null>>('u-icons', () => ({})) +// eslint-disable-next-line @typescript-eslint/no-non-null-asserted-optional-chain const isFetching = computed(() => state.value?.[props.name] && ('then' in state.value?.[props.name]!)) const icon = computed | null>(() => !state.value?.[props.name] || 'then' in state.value[props.name]!