From 6e70903c633159e938f89a28631e3308a3efa5c4 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Thu, 9 Nov 2017 21:23:29 -0800 Subject: [PATCH] Fixed todo list items --- app/components/Editor/components/ListItem.js | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/app/components/Editor/components/ListItem.js b/app/components/Editor/components/ListItem.js index defea91d3f..0c151765d1 100644 --- a/app/components/Editor/components/ListItem.js +++ b/app/components/Editor/components/ListItem.js @@ -3,12 +3,22 @@ import React from 'react'; import type { Props } from '../types'; import TodoItem from './TodoItem'; -export default function ListItem({ children, node, attributes }: Props) { +export default function ListItem({ + children, + node, + attributes, + ...props +}: Props) { const checked = node.data.get('checked'); if (checked !== undefined) { return ( - + {children} );