mirror of
https://gitlab.com/soapbox-pub/mkstack.git
synced 2026-12-05 16:33:36 +00:00
Merge remote-tracking branch 'gitlab/main' into nodenext
This commit is contained in:
109 files changed
+4218
-1
No files matched your search
@@ -0,0 +1,2 @@
|
||||
import { createContext } from "react";
|
||||
export const AppContext = createContext(undefined);
|
||||
@@ -0,0 +1,7 @@
|
||||
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 });
|
||||
}
|
||||
Reference in new issue
Block a user