/ src / contexts / NWCContext.tsx
NWCContext.tsx
1  import { ReactNode } from 'react';
2  import { useNWCInternal as useNWCHook } from '@/hooks/useNWC';
3  import { NWCContext } from '@/hooks/useNWCContext';
4  
5  export function NWCProvider({ children }: { children: ReactNode }) {
6    const nwc = useNWCHook();
7    return <NWCContext.Provider value={nwc}>{children}</NWCContext.Provider>;
8  }