Groups are added to state

This commit is contained in:
unknown
2020-07-30 18:06:27 +02:00
parent bef314120a
commit 376aca837c
7 changed files with 53 additions and 32 deletions

View File

@ -13,17 +13,16 @@ export const SchedulerEvent = ({ events, colIndex }: SchedulerEventProps) => {
return (
<>
{events.map((event, index) => (
{events.map((_, index) => (
<div
id={`eventCol${colIndex}eventRow${index}`}
style={{
position: "absolute",
top: 80 * index + 5,
left:5,
top: 80 * index + 10,
left: 5,
backgroundColor: "#839FE6",
color: "white",
borderRadius: 5,
padding:5,
width: "80%",
height: 60,
display: "none",