From 21167e7b65b953c914c034aaa2ef364f54050de9 Mon Sep 17 00:00:00 2001 From: "David L. Qiu" Date: Thu, 7 Sep 2023 13:31:22 -0700 Subject: [PATCH] fix 1.x-exclusive type error --- .../jupyter-ai/src/components/settings/existing-api-keys.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/jupyter-ai/src/components/settings/existing-api-keys.tsx b/packages/jupyter-ai/src/components/settings/existing-api-keys.tsx index 468f26796..b22c731b9 100644 --- a/packages/jupyter-ai/src/components/settings/existing-api-keys.tsx +++ b/packages/jupyter-ai/src/components/settings/existing-api-keys.tsx @@ -113,7 +113,7 @@ function ExistingApiKey(props: ExistingApiKeyProps) { }, [input]); const onError = useCallback( - emsg => { + (emsg: string) => { props.alert.show('error', emsg); }, [props.alert]