diff --git a/sensehat/index.html b/sensehat/index.html
index b7413ce..dd890cf 100644
--- a/sensehat/index.html
+++ b/sensehat/index.html
@@ -146,7 +146,6 @@
client.on('action', ({ action, x, y, color, pixels }) => {
var leds = document.querySelectorAll('.led')
if (color == undefined) color = [0, 0, 0]
-
var [r, g, b] = color
switch (action) {
case 'clear':