app/components/satis/switch/component_controller.js in satis-1.0.75 vs app/components/satis/switch/component_controller.js in satis-2.0.7

- old
+ new

@@ -1,9 +1,8 @@ -import ApplicationController from "../../../../frontend/controllers/application_controller" -// FIXME: Is this full path really needed? -import { debounce } from "../../../../frontend/utils" +import ApplicationController from "satis/controllers/application_controller" +import { debounce } from "satis/utils" -export default class extends ApplicationController { +export default class SwitchComponentController extends ApplicationController { static targets = ["hiddenInput", "switch", "button", "cross", "check"] connect() { super.connect() }