Changed function to object on reactlass snippet, removed duplicated colon