mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
Merge pull request #13280 from ToolJet/ai-modularisation-bug-fix
Added optional chaining for renderCopilot function call as its not passed as prop in few cases hence getting resolved to undefined
This commit is contained in:
commit
e1f33ac305
1 changed files with 1 additions and 1 deletions
|
|
@ -348,7 +348,7 @@ const MultiLineCodeEditor = (props) => {
|
|||
view={editorView}
|
||||
isPanelOpen={isSearchPanelOpen}
|
||||
renderCopilot={() =>
|
||||
renderCopilot({
|
||||
renderCopilot?.({
|
||||
darkMode,
|
||||
language: lang,
|
||||
editorRef,
|
||||
|
|
|
|||
Loading…
Reference in a new issue