This was undefined on response toggle

This commit is contained in:
Depickere Sven 2022-01-22 14:31:15 +01:00
parent 5694913e71
commit a26ecfc3bf

View File

@ -30,7 +30,7 @@ export const ResponseView = observer(({ response }: ResponseViewProps): React.Re
return (
<div>
<StyledResponseTitle
onClick={response.toggle}
onClick={() => response.toggle()}
type={type}
empty={empty}
title={summary || ''}