You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`❌ BreakpointProvider: The current width (${width}px) is less than the smallest breakpoint value (${sortedBreakpoints[0][1]}px). Consider including a breakpoint with a value of 0 to cover all cases.`
134
-
);
137
+
logger.error('Current width is less than smallest breakpoint',{
138
+
currentWidth: width,
139
+
smallestBreakpoint: sortedBreakpoints[0][1],
140
+
smallestBreakpointName: sortedBreakpoints[0][0],
141
+
suggestion: 'Consider including a breakpoint with a value of 0 to cover all cases',
142
+
});
135
143
}
136
144
}else{
137
145
if(shouldLog){
138
-
console.error(
139
-
'❌ BreakpointProvider: No breakpoint could be determined from the provided configuration. Check your breakpoints object.'
140
-
);
146
+
logger.error('No breakpoint could be determined',{
147
+
width,
148
+
breakpointsConfig: sortedBreakpoints,
149
+
suggestion: 'Check your breakpoints object configuration',
0 commit comments