Minor fixes (#758)

This commit is contained in:
Lucas Bordeau
2023-07-19 20:22:51 +02:00
committed by GitHub
parent 3ed4e7d0d9
commit 16aa507d50
2 changed files with 3 additions and 3 deletions

View File

@ -28,8 +28,8 @@ export function useOpenCreateCommentThreadDrawerForSelectedRowIds() {
const [, setViewableCommentThreadId] = useRecoilState( const [, setViewableCommentThreadId] = useRecoilState(
viewableCommentThreadIdState, viewableCommentThreadIdState,
); );
const setHotkeyScope = useSetHotkeyScope(); const setHotkeyScope = useSetHotkeyScope();
setHotkeyScope(RightDrawerHotkeyScope.RightDrawer, { goto: false });
const [, setCommentableEntityArray] = useRecoilState( const [, setCommentableEntityArray] = useRecoilState(
commentableEntityArrayState, commentableEntityArrayState,

View File

@ -42,9 +42,9 @@ export function DropdownMenuCheckableItem({
} }
return ( return (
<DropdownMenuCheckableItemContainer> <DropdownMenuCheckableItemContainer onClick={handleClick}>
<StyledLeftContainer> <StyledLeftContainer>
<Checkbox checked={checked} onChange={handleClick} /> <Checkbox checked={checked} />
<StyledChildrenContainer>{children}</StyledChildrenContainer> <StyledChildrenContainer>{children}</StyledChildrenContainer>
</StyledLeftContainer> </StyledLeftContainer>
</DropdownMenuCheckableItemContainer> </DropdownMenuCheckableItemContainer>