Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
C-D-Lewis committed Nov 19, 2024
1 parent 3388fb9 commit 3893dcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/src/components/VisualsPalette.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const VisualsPalette = () => fabricate('Row')
.onCreate(async (el, state) => {
const { message } = await sendConduitPacket(state, { to: 'visuals', topic: 'hasLights' });

if (message.hasLights) {
if (message && message.hasLights) {
el.setChildren(DEMO_COLORS.map((color) => SwatchButton({ color })));
} else {
el.setChildren([
Expand Down

0 comments on commit 3893dcd

Please sign in to comment.