refactor(header/notice): convert JS to stimulus

This commit is contained in:
Colin Darie 2022-09-19 16:13:41 +02:00
parent a2c32b44c0
commit 55fd4307a1
5 changed files with 18 additions and 24 deletions

View file

@ -37,8 +37,6 @@ import {
showNewAccountPasswordConfirmation
} from '../new_design/fc-fusion';
import { closeNoticeInfo } from '../new_design/header';
const application = Application.start();
registerControllers(application);
@ -54,8 +52,7 @@ const DS = {
showNewAccountPasswordConfirmation,
replaceSemicolonByComma,
acceptEmailSuggestion,
discardEmailSuggestionBox,
closeNoticeInfo
discardEmailSuggestionBox
};
// Start Rails helpers