aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/js/account.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/web/js/account.jsx')
-rw-r--r--cmd/web/js/account.jsx23
1 files changed, 1 insertions, 22 deletions
diff --git a/cmd/web/js/account.jsx b/cmd/web/js/account.jsx
index 3dc8afd..988d840 100644
--- a/cmd/web/js/account.jsx
+++ b/cmd/web/js/account.jsx
@@ -1,27 +1,6 @@
1import Api from './api.js'; 1import Api from './api.js';
2import React from 'react'; 2import React from 'react';
3import classnames from 'classnames'; 3import Panel from './panel.js';
4
5class Panel extends React.Component {
6 render = () => {
7 if (this.props.component === null) {
8 return <div></div>;
9 }
10
11 var className = classnames('row', this.props.topClassName);
12
13 return (
14 <div className={className}>
15 <div className="box col-12">
16 <div className="row">
17 <div className="col-4">{this.props.title}</div>
18 </div>
19 <hr/>
20 {this.props.component}
21 </div>
22 </div>);
23 }
24}
25 4
26class AccountInformation extends React.Component { 5class AccountInformation extends React.Component {
27 constructor(props) { 6 constructor(props) {