style(header): remove fr-header__with-notice-info when notice is closed

This commit is contained in:
Colin Darie 2022-09-14 19:23:40 +02:00
parent 7e6624753a
commit 4d5f03b99c
5 changed files with 28 additions and 5 deletions

View file

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