refactor(app): folder structure, components cleanup
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import { createContext } from 'react';
|
||||
|
||||
export const NodeIdContext = createContext(null);
|
||||
export const Provider = NodeIdContext.Provider;
|
||||
export const Consumer = NodeIdContext.Consumer;
|
||||
|
||||
Provider.displayName = 'NodeIdProvider';
|
||||
|
||||
export default NodeIdContext;
|
||||
Reference in New Issue
Block a user