app/assets/javascripts/spina/controllers/confetti_controller.js in spina-2.2.0 vs app/assets/javascripts/spina/controllers/confetti_controller.js in spina-2.3.0
- old
+ new
@@ -1,6 +1,6 @@
-import { Controller } from "stimulus"
-import confetti from "canvas-confetti"
+import { Controller } from "@hotwired/stimulus"
+import confetti from "libraries/canvas-confetti"
export default class extends Controller {
connect() {
if(this.canvas == undefined) this.createCanvas()
\ No newline at end of file