Remove useless shouldLoad

This commit is contained in:
Adrien Maston
2026-01-08 16:32:58 +01:00
parent 45f24d959e
commit 1028eab8d6
@@ -5,10 +5,6 @@ export default class extends BridgeComponent {
static component = "buttons"
static targets = [ "button" ]
static shouldLoad() {
return true
}
connect() {
super.connect()
if (!this.hasButtonTarget) return