We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1bbb686 commit 68ac566Copy full SHA for 68ac566
src/next-app-router/DsfrProvider.tsx
@@ -79,13 +79,9 @@ export function DsfrProviderBase(
79
"nextParams": {
80
"doPersistDarkModePreferenceWithCookie": false,
81
"registerEffectAction": action => {
82
- console.log("registerEffectAction", action);
83
-
84
if (isAfterFirstEffect) {
85
- console.log("run now");
86
action();
87
} else {
88
- console.log("push");
89
actions.push(action);
90
}
91
@@ -122,7 +118,6 @@ function dsfrEffect(): void {
122
118
123
119
isAfterFirstEffect = true;
124
120
actions.forEach(action => {
125
- console.log("running action", action);
126
121
127
});
128
0 commit comments