diff --git a/demo/Page/components/Edit/index.js b/demo/Page/components/Edit/index.js index f700cde98e..73b2e84e7a 100644 --- a/demo/Page/components/Edit/index.js +++ b/demo/Page/components/Edit/index.js @@ -18,11 +18,6 @@ const Edit = props => { const { id } = props.match.params; const { data, collection, config } = props; - function get(attribute) { - // TODO: if the app is not using localization this will need to be revisited - return data[attribute] && props.locale && data[attribute][props.locale] ? data[attribute][props.locale] : ''; - } - const sampleRepeaterValue = [ { content: 'here\'s some test content' @@ -47,12 +42,12 @@ const Edit = props => {