fix removing

This commit is contained in:
michael-grace 2020-11-15 20:18:49 +00:00
parent c7bf1cc573
commit 2af43cc48a

View file

@ -241,7 +241,6 @@ const Showplanner: React.FC<{ timeslotId: number }> = function({ timeslotId }) {
command: "REMOVE",
weight: data.index,
});
dispatch(removeItem(timeslotId, data.id));
}
async function onCtxUnPlayedClick(e: any, data: { id: string }) {
dispatch(setItemPlayed({ itemId: data.id, played: false }));