Skip to content
Snippets Groups Projects
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
getOpenedPanel.ts 280 B
import { store } from '@/redux/store';
import { openedDrawerSelector } from '@/redux/drawer/drawer.selectors';

export const getOpenedPanel = (): string | undefined => {
  const { getState } = store;
  const drawerName = openedDrawerSelector(getState());

  return drawerName;
};