Commit 48d902ea authored by Joseph Weston's avatar Joseph Weston
Browse files

remove spurious call to non-existant 'renderTemplate'

This is probably a hangover from a refactor. Now the TemplateEditor
component expects the student as a prop and knows when to re-render
itself.
parent 15d7eff3
......@@ -38,7 +38,7 @@ class Email extends React.Component {
setStudent={student => {
this.setState({
selectedStudent: student
}, () => student && this.renderTemplate())
})
}}
/>
<EmailControls
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment