From e3db14f81a32639585a8e0c834396c4f1a4f06fd Mon Sep 17 00:00:00 2001 From: Enrico Fasoli Date: Tue, 15 Dec 2015 23:49:54 +0100 Subject: [PATCH] fix typo --- webapp/pages/profile-editor.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp/pages/profile-editor.jsx b/webapp/pages/profile-editor.jsx index 0d7a08c..37cbd6b 100644 --- a/webapp/pages/profile-editor.jsx +++ b/webapp/pages/profile-editor.jsx @@ -28,7 +28,7 @@ module.exports = function (boardsAPI) { // State isn't set to p directly to avoid XSS. // There is no knowing what's gonna be in a profile // Should also convert to string and check length etc. - this.setState({ p: p.name, description: p.description, loading: false }) + this.setState({ name: p.name, description: p.description, loading: false }) } }) },