Skip to content

Commit

Permalink
Merge pull request #174 from liangxm-swan/dev
Browse files Browse the repository at this point in the history
fixbug #81&#133
  • Loading branch information
dlimeng authored Sep 15, 2023
2 parents ca02c25 + 59cda93 commit c9ef102
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -263,10 +263,6 @@ function useModelui() {
setModalOpen(open);
}

function handleDatabaseSave () {

}

function handleTableDataChange(value: string) {
setTableData(value || "");
}
Expand Down Expand Up @@ -488,7 +484,7 @@ function useModelui() {

function handleSaveTableData () {
let value = promptInput + tableData
console.log(value)
promptContentRef.current = value
setPromptInput(value || "");
setModalOpen(false)
}
Expand All @@ -509,7 +505,6 @@ function useModelui() {
sendMessage,
setModalOpen,
toggleModal,
handleDatabaseSave,
queryDbs,
changeDsSelections,
handleTableDataChange,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ export default function PageModeluiPropertiesPanel() {
minHeight: 100,
maxHeight: 100,
width: "100%",
paddingRight: 40
}}
value={promptInput}
onChange={handlePromptInputChange}
Expand Down

0 comments on commit c9ef102

Please sign in to comment.