mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-06 05:10:20 +03:00
This was undefined on response toggle
This commit is contained in:
parent
5694913e71
commit
a26ecfc3bf
|
@ -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 || ''}
|
||||
|
|
Loading…
Reference in New Issue
Block a user