This commit is contained in:
cv
2021-05-10 22:01:58 +02:00
parent d24fb406af
commit d71615fba4
7 changed files with 160 additions and 364 deletions
+1 -3
View File
@@ -1,4 +1,4 @@
import { memo, useCallback } from 'react';
import { memo } from 'react';
import { FiChevronDown } from 'react-icons/fi';
import {
Button,
@@ -8,7 +8,6 @@ import {
MenuItem,
MenuList,
} from '@chakra-ui/react';
import AddIconBtn from '../../common/components/buttons/AddIconBtn';
import style from './EventListMenu.module.css';
import MenuActionButtons from '../editors/list/MenuActionButtons';
@@ -29,7 +28,6 @@ const EventListMenu = ({ eventsHandler }) => {
};
const actionHandler = (action) => {
console.log('debug action called', action);
switch (action) {
case 'event':
eventsHandler('add', { type: action, order: 0 });