Skip to content

Commit

Permalink
Fix dbId is undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
EugeneTorap committed Nov 14, 2022
1 parent 74f0c53 commit 8e68df5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const SqlEditorLeftBar = ({
setEmptyState,
}: SqlEditorLeftBarProps) => {
const dispatch = useDispatch();
const queryEditor = useQueryEditor(queryEditorId, ['schema']);
const queryEditor = useQueryEditor(queryEditorId, ['dbId', 'schema']);

const [emptyResultsWithSearch, setEmptyResultsWithSearch] = useState(false);
const [userSelectedDb, setUserSelected] = useState<DatabaseObject | null>(
Expand Down

0 comments on commit 8e68df5

Please sign in to comment.