refactor(header/notice): convert JS to stimulus
This commit is contained in:
parent
a2c32b44c0
commit
55fd4307a1
5 changed files with 18 additions and 24 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue