From be5555419d6fdfacf88f8c0fb6b496d1e58b5533 Mon Sep 17 00:00:00 2001 From: hemengke <23536175@qq.com> Date: Tue, 27 Aug 2024 19:02:39 +0800 Subject: [PATCH] fix: export --- src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index 94259b6..92d21c0 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -18,7 +18,7 @@ import ToastMessage from './component/toast-message'; import { isToastUpdateOptions } from './lib/type-guard'; import ToastContainer from './component/toast-container'; -export let toastComponentList: ToastComponent[] = []; +let toastComponentList: ToastComponent[] = []; const init = () => { const toastContainer = isBrowser() && document.getElementById(styles['toast_container']);