Skip to content

Commit

Permalink
removing the reset of the query after execute
Browse files Browse the repository at this point in the history
  • Loading branch information
Anchel123 committed Apr 7, 2024
1 parent 214353e commit 8720ef9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/graph/query.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function Query({ onSubmit, onQueryUpdate, onDeleteGraph, className = "" }
return (
<form
className={cn("flex flex-col space-y-3 md:flex-row md:space-x-3 md:space-y-0", className)}
onSubmit={async (e) => await onSubmit(e) && setQuery('')}>
onSubmit={(e) => onSubmit(e)}>
<div className="items-center flex flex-row space-x-3">
<Label htmlFor="query" className="text">Query</Label>
<GraphsList onDelete={onDelete} onSelectedGraph={setGraphName} />
Expand Down

0 comments on commit 8720ef9

Please sign in to comment.