wwf
3 天以前 a430284aa21e3ae1f0d5654e55b2ad2852519cc2
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)