add appropriate props into memoized item component

This commit is contained in:
Ryukemeister 2023-11-01 01:04:17 +05:30
parent 57d1de4709
commit 2e912078a4

View File

@ -108,7 +108,7 @@ export function EventType({
{!(lastItem && lastItem.id === type.id) && (
<ArrowButton arrowDirection="down" onClick={() => moveEventType(index, 1)} />
)}
<MemoizedItem />
<MemoizedItem type={type} group={group} readOnly={readOnly} />
<div className="mt-4 hidden sm:mt-0 sm:flex">
<div className="flex justify-between space-x-2 rtl:space-x-reverse">
{type.team && !isManagedEventType && (