From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +0800
Subject: [PATCH] 修改
---
app/components/base/features/context.tsx | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/app/components/base/features/context.tsx b/app/components/base/features/context.tsx
index dc04f6b..3c9347c 100644
--- a/app/components/base/features/context.tsx
+++ b/app/components/base/features/context.tsx
@@ -14,7 +14,7 @@
children: React.ReactNode
} & Partial<FeaturesState>
export const FeaturesProvider = ({ children, ...props }: FeaturesProviderProps) => {
- const storeRef = useRef<FeaturesStore | undefined>(undefined)
+ const storeRef = useRef<FeaturesStore>()
if (!storeRef.current)
storeRef.current = createFeaturesStore(props)
--
Gitblit v1.8.0