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 ...@@ -252,7 +252,8 @@ function WeekView({renderWeek, onInstanceClick, selectedAction, selectedColor, s
onInstanceClick={onInstanceClick} onInstanceClick={onInstanceClick}
selectedAction={selectedAction} selectedAction={selectedAction}
selectedColor={selectedColor} selectedColor={selectedColor}
selectedColorMode={selectedColorMode} /> selectedColorMode={selectedColorMode}
key={renderInstance.instance} />
)} )}
</div> </div>
</> </>
...@@ -450,7 +451,8 @@ export function ScheduleView({sidebarOpen}: {sidebarOpen: boolean}) { ...@@ -450,7 +451,8 @@ export function ScheduleView({sidebarOpen}: {sidebarOpen: boolean}) {
onInstanceClick={onInstanceClick} onInstanceClick={onInstanceClick}
selectedAction={selectedAction} selectedAction={selectedAction}
selectedColor={selectedColor} selectedColor={selectedColor}
selectedColorMode={selectedColorMode} /> selectedColorMode={selectedColorMode}
key={renderWeek.weeks[0].getTime()} />
)} )}
</div> </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