From 19eaf27126036b20507d1b83583c985c41939826 Mon Sep 17 00:00:00 2001 From: Joel Date: Mon, 15 May 2023 11:48:46 +0800 Subject: [PATCH] fix: lodash package rename (#9) Co-authored-by: Joel --- .../provider-page/provider-input/useValidateToken.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/components/header/account-setting/provider-page/provider-input/useValidateToken.ts b/web/app/components/header/account-setting/provider-page/provider-input/useValidateToken.ts index d6337fa21c..5064910671 100644 --- a/web/app/components/header/account-setting/provider-page/provider-input/useValidateToken.ts +++ b/web/app/components/header/account-setting/provider-page/provider-input/useValidateToken.ts @@ -1,6 +1,6 @@ import { useState, useCallback } from 'react' -import debounce from 'lodash/debounce' -import { DebouncedFunc } from 'lodash' +import debounce from 'lodash-es/debounce' +import { DebouncedFunc } from 'lodash-es' import { validateProviderKey } from '@/service/common' export enum ValidatedStatus {