change onClick to onPress

This commit is contained in:
Takeshi Kimata
2024-04-20 20:29:19 +09:00
parent 5a19b79031
commit 1f73da2c08

View File

@@ -112,14 +112,14 @@ export default function TestCaseSelector({
<DropdownItem
startContent={<CopyPlus size={16} />}
isDisabled={testCase.isIncluded}
onClick={() => onIncludeCase(testCase.id)}
onPress={() => onIncludeCase(testCase.id)}
>
Include in run
</DropdownItem>
<DropdownItem
startContent={<CopyMinus size={16} />}
isDisabled={!testCase.isIncluded}
onClick={() => {onExcludeCase(testCase.id)}}
onPress={() => onExcludeCase(testCase.id)}
>
Exclude from run
</DropdownItem>