Workspaces layout, automation page
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
export { useGlobal } from './useGlobal';
|
||||
export { usePanelChannel } from './usePanelChannel';
|
||||
export { useClient, createClient } from './useClient';
|
||||
export { useDebounce } from './useDebounce';
|
||||
export { useDragAndDrop } from './useDragAndDrop';
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
import { useGlobal } from './useGlobal';
|
||||
|
||||
export const usePanelChannel = <T>(channel: string, initialData: T) => {
|
||||
return useGlobal<T>(['PANEL_CHANNEL', channel], initialData);
|
||||
};
|
||||
Reference in New Issue
Block a user