Skip to content

Commit f68771b

Browse files
committed
fix: fix bug with InputCTASection error message
1 parent afbfdc1 commit f68771b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/logos-docusaurus-theme/src/client/components/mdx/InputCTASection/InputCTASection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export const InputCTASection: React.FC<InputCTASectionProps & Props> = ({
7171
const data = await res.json()
7272

7373
if (data?.result?.errors && data?.result?.errors[0]?.context?.length) {
74-
setMessage(data?.result?.errors[0].context.message)
74+
setMessage(data?.result?.errors[0].context)
7575
return
7676
}
7777

0 commit comments

Comments
 (0)