diff --git a/app/javascript/controllers/toggle_controller.js b/app/javascript/controllers/toggle_controller.js index 5267560b..071e9c3d 100644 --- a/app/javascript/controllers/toggle_controller.js +++ b/app/javascript/controllers/toggle_controller.js @@ -1,3 +1,6 @@ import { Controller } from "@hotwired/stimulus"; export default class extends Controller { + static targets = [ "menu" ] + static values = {isOpen: { type: Boolean, default: false }} +