diff --git a/app/javascript/stimulus/composer_controller.js b/app/javascript/stimulus/composer_controller.js index f9d8dc2d2..2c5c01328 100644 --- a/app/javascript/stimulus/composer_controller.js +++ b/app/javascript/stimulus/composer_controller.js @@ -1,5 +1,5 @@ import { Controller } from "@hotwired/stimulus" -import viewport from "./utils/viewport" +import viewport from "stimulus/utils/viewport" export default class extends Controller { static targets = [ "form", "input", "submit", "overlay", "cancel", diff --git a/app/javascript/stimulus/message_scroller_controller.js b/app/javascript/stimulus/message_scroller_controller.js index aa6f176ba..edf485806 100644 --- a/app/javascript/stimulus/message_scroller_controller.js +++ b/app/javascript/stimulus/message_scroller_controller.js @@ -2,7 +2,7 @@ window.lastMessageControllerInstance = null window.wasScrolledToBottom = false import { Controller } from "@hotwired/stimulus" -import throttle from "./utils/throttle" +import throttle from "stimulus/utils/throttle" export default class extends Controller { scrollableTarget = null diff --git a/app/javascript/stimulus/scrollable_controller.js b/app/javascript/stimulus/scrollable_controller.js index 4f9f50b8f..333d22894 100644 --- a/app/javascript/stimulus/scrollable_controller.js +++ b/app/javascript/stimulus/scrollable_controller.js @@ -1,5 +1,5 @@ import { Controller } from "@hotwired/stimulus" -import throttle from "./utils/throttle" +import throttle from "stimulus/utils/throttle" export default class extends Controller { static classes = [ "top", "notTop", "bottom", "notBottom" ] diff --git a/app/javascript/stimulus/textarea_autogrow_controller.js b/app/javascript/stimulus/textarea_autogrow_controller.js index db7747e4a..063361d53 100644 --- a/app/javascript/stimulus/textarea_autogrow_controller.js +++ b/app/javascript/stimulus/textarea_autogrow_controller.js @@ -1,5 +1,5 @@ import { Controller } from "@hotwired/stimulus" -import throttle from "./utils/throttle" +import throttle from "stimulus/utils/throttle" export default class extends Controller {