remove export

This commit is contained in:
Sasha 2023-02-23 14:11:41 +01:00
parent 9c3ee9c926
commit 8200aa5c91
No known key found for this signature in database

View File

@ -7,6 +7,7 @@ import type {
FullNodeOptions,
LightNodeOptions,
RelayNodeOptions,
ReactChildrenProps,
} from "./types";
import {
useCreateFullNode,
@ -37,10 +38,6 @@ const WakuContext = React.createContext<WakuContextType<Waku>>({
export const useWaku = <T extends Waku>(): WakuContextType<T> =>
React.useContext(WakuContext) as WakuContextType<T>;
type ReactChildrenProps = {
children?: React.ReactNode;
};
type ProviderProps<T> = ReactChildrenProps & BootstrapNodeOptions<T>;
/**