Skip to content

Commit d1de577

Browse files
committed
Hotfix create stage nested form bug
1 parent 21bbdb5 commit d1de577

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/javascript/entrypoints/application.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ import jquery from "jquery";
3232
window.jQuery = jquery;
3333
window.$ = jquery;
3434

35+
import("@nathanvda/cocoon");
36+
3537
import Rails from "@rails/ujs";
3638
import "@hotwired/turbo-rails";
3739
import * as ActiveStorage from "@rails/activestorage";
@@ -44,7 +46,6 @@ Rails.start();
4446
ActiveStorage.start();
4547
import "trix";
4648
import "@rails/actiontext";
47-
// import "@nathanvda/cocoon";
4849
import "flowbite/dist/flowbite.turbo.js";
4950

5051
$(document).on("turbo:load", () => {

0 commit comments

Comments
 (0)