From 422244107607675640d7e51eafd1b37dd0c43a2a Mon Sep 17 00:00:00 2001 From: David Roetzel Date: Thu, 26 Jan 2023 11:01:29 +0100 Subject: [PATCH] Fix loading of stimulus controllers. --- app/javascript/controllers/append_controller.js | 2 +- app/javascript/controllers/remove_controller.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/javascript/controllers/append_controller.js b/app/javascript/controllers/append_controller.js index c9b85474..07bc1477 100644 --- a/app/javascript/controllers/append_controller.js +++ b/app/javascript/controllers/append_controller.js @@ -1,4 +1,4 @@ -import { Controller } from "stimulus" +import { Controller } from "@hotwired/stimulus" export default class extends Controller { static targets = ["container", "template"]; diff --git a/app/javascript/controllers/remove_controller.js b/app/javascript/controllers/remove_controller.js index 663d4e65..31f5c23e 100644 --- a/app/javascript/controllers/remove_controller.js +++ b/app/javascript/controllers/remove_controller.js @@ -1,4 +1,4 @@ -import { Controller } from "stimulus" +import { Controller } from "@hotwired/stimulus" export default class extends Controller { remove(event) {