refactor(types): cleanup
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
import { createContext } from 'react';
|
||||
|
||||
import { ElementId } from '../types';
|
||||
|
||||
type ContextProps = ElementId | null;
|
||||
type ContextProps = string | null;
|
||||
|
||||
export const NodeIdContext = createContext<Partial<ContextProps>>(null);
|
||||
export const Provider = NodeIdContext.Provider;
|
||||
|
||||
Reference in New Issue
Block a user