Commit 3005706e authored by PurkkaKoodari's avatar PurkkaKoodari

Add missing key props in schedule

parent 24fabc54
......@@ -252,7 +252,8 @@ function WeekView({renderWeek, onInstanceClick, selectedAction, selectedColor, s
onInstanceClick={onInstanceClick}
selectedAction={selectedAction}
selectedColor={selectedColor}
selectedColorMode={selectedColorMode} />
selectedColorMode={selectedColorMode}
key={renderInstance.instance} />
)}
</div>
</>
......@@ -450,7 +451,8 @@ export function ScheduleView({sidebarOpen}: {sidebarOpen: boolean}) {
onInstanceClick={onInstanceClick}
selectedAction={selectedAction}
selectedColor={selectedColor}
selectedColorMode={selectedColorMode} />
selectedColorMode={selectedColorMode}
key={renderWeek.weeks[0].getTime()} />
)}
</div>
</>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment