ensure flux function gets added when no cursor
parent
93fa456e5b
commit
b712ec765b
|
@ -58,7 +58,7 @@ interface State {
|
|||
class FluxQueryMaker extends PureComponent<Props, State> {
|
||||
private debouncer: Debouncer = new DefaultDebouncer()
|
||||
private getAST = restartable(getAST)
|
||||
private cursorPosition: Position
|
||||
private cursorPosition: Position = {line: 0, ch: 0}
|
||||
|
||||
public constructor(props: Props) {
|
||||
super(props)
|
||||
|
|
Loading…
Reference in New Issue