mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-07 13:44:54 +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 (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<StyledResponseTitle
|
<StyledResponseTitle
|
||||||
onClick={response.toggle}
|
onClick={() => response.toggle()}
|
||||||
type={type}
|
type={type}
|
||||||
empty={empty}
|
empty={empty}
|
||||||
title={summary || ''}
|
title={summary || ''}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user