(?) button broken in search query builder
View options
- Truncate descriptions
Created by: beyang
Repro:
- Go to https://sourcegraph.com/search
- Click "Use search query builder" to show the query builder if it is hidden
- Click the (?) next to any of the query builder fields. Note that nothing happens. In the JS console, see this:
helpers.ts:109 Uncaught TypeError: this.context.toggle is not a function
at t.a.onClick (DropdownToggle.js:77)
at Object.<anonymous> (react-dom.production.min.js:14)
at c (react-dom.production.min.js:15)
at react-dom.production.min.js:15
at _ (react-dom.production.min.js:17)
at S (react-dom.production.min.js:18)
at x (react-dom.production.min.js:18)
at N (react-dom.production.min.js:21)
at Cn (react-dom.production.min.js:84)
at ju (react-dom.production.min.js:250)
at Ie (react-dom.production.min.js:39)
at Sn (react-dom.production.min.js:86)
at react-dom.production.min.js:251
at Object.t.unstable_runWithPriority (scheduler.production.min.js:18)
at Pu (react-dom.production.min.js:251)
at On (react-dom.production.min.js:85)
at HTMLDocument.r (helpers.ts:85)

