Update javascript dependencies

This commit is contained in:
Paul Chavard 2020-05-13 18:48:53 +02:00
parent f1ebabf20a
commit 03075afa5b
3 changed files with 1074 additions and 1255 deletions

View file

@ -62,7 +62,7 @@ ActiveStorage.start();
window.DS = window.DS || DS;
// Now that Turbolinks is globally exposed,configure ReactRailsUJS
// eslint-disable-next-line no-undef
// eslint-disable-next-line no-undef, react-hooks/rules-of-hooks
ReactRailsUJS.useContext(require.context('loaders', true));
// Remove previous event handlers and add new ones:
ReactRailsUJS.detectEvents();