The discussions button in the toolbar is a toggle, so it should use the pressed property so it is styled properly when activated/deactivated.
Example:
https://github.com/sourcegraph/sourcegraph-typescript/blob/2a8d094a2cb01263df69b216d288685c15a1d378/package.json#L39