mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-03 08:07:21 +00:00
8 lines
320 B
JavaScript
8 lines
320 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
|
|
import { useNWCInternal as useNWCHook } from '@/hooks/useNWC.js';
|
|
import { NWCContext } from '@/hooks/useNWCContext.js';
|
|
export function NWCProvider({ children }) {
|
|
const nwc = useNWCHook();
|
|
return _jsx(NWCContext.Provider, { value: nwc, children: children });
|
|
}
|