Skip to content

Commit 294bc88

Browse files
committed
Fix failing client/index.integration.test.jsx test
1 parent 8a00576 commit 294bc88

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

client/modules/IDE/components/Console.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,21 +81,21 @@ const getConsoleFeedStyle = (theme, fontSize) => {
8181
switch (theme) {
8282
case 'light':
8383
return Object.assign(
84-
CONSOLE_FEED_LIGHT_STYLES,
84+
CONSOLE_FEED_LIGHT_STYLES || {},
8585
CONSOLE_FEED_LIGHT_ICONS,
8686
CONSOLE_FEED_SIZES,
8787
style
8888
);
8989
case 'dark':
9090
return Object.assign(
91-
CONSOLE_FEED_DARK_STYLES,
91+
CONSOLE_FEED_DARK_STYLES || {},
9292
CONSOLE_FEED_DARK_ICONS,
9393
CONSOLE_FEED_SIZES,
9494
style
9595
);
9696
case 'contrast':
9797
return Object.assign(
98-
CONSOLE_FEED_CONTRAST_STYLES,
98+
CONSOLE_FEED_CONTRAST_STYLES || {},
9999
CONSOLE_FEED_CONTRAST_ICONS,
100100
CONSOLE_FEED_SIZES,
101101
style

0 commit comments

Comments
 (0)