Skip to content

Commit

Permalink
Remove redundant useMyPlate(Selectors|Actions|States) hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
12joan committed Dec 21, 2023
1 parent 2ee76a3 commit 3ddd5fd
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions apps/www/src/types/plate-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -371,12 +371,6 @@ export const getMyEditor = (editor: MyEditor) =>
getTEditor<MyValue, MyEditor>(editor);
export const useMyEditorRef = () => useEditorRef<MyValue, MyEditor>();
export const useMyEditorState = () => useEditorState<MyValue, MyEditor>();
export const useMyPlateSelectors = (id?: PlateId) =>
usePlateSelectors<MyValue, MyEditor>(id);
export const useMyPlateActions = (id?: PlateId) =>
usePlateActions<MyValue, MyEditor>(id);
export const useMyPlateStates = (id?: PlateId) =>
usePlateStates<MyValue, MyEditor>(id);

/**
* Utils
Expand Down

0 comments on commit 3ddd5fd

Please sign in to comment.