mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-11 20:13:02 +00:00
Added check for current_propobject
This commit is contained in:
@@ -11,8 +11,11 @@ const DynamicTable = (props) => {
|
||||
|
||||
var propobject = current_propobject;
|
||||
|
||||
var [propkeys, setOwnKeys] = useState(Object.keys(current_propobject));
|
||||
var [propvalues, setOwnValues] = useState(Object.values(current_propobject));
|
||||
if (current_propobject) {
|
||||
var [propkeys, setOwnKeys] = useState(Object.keys(current_propobject));
|
||||
var [propvalues, setOwnValues] = useState(Object.values(current_propobject));
|
||||
};
|
||||
|
||||
var updateMessageKey = (event) => {
|
||||
setMessage(event.target.value);
|
||||
}
|
||||
|
Reference in New Issue
Block a user