Inline setState.
parent
50ad80ad86
commit
4308d2c635
|
@ -7,9 +7,7 @@ export default class AppPermission extends React.Component {
|
||||||
super(props);
|
super(props);
|
||||||
|
|
||||||
const curlBase = this.getCurlBase();
|
const curlBase = this.getCurlBase();
|
||||||
this.state = {
|
this.state = { curlBase: curlBase};
|
||||||
curlBase: curlBase,
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Return string representation of content URL without query parameters
|
// Return string representation of content URL without query parameters
|
||||||
|
|
Loading…
Reference in New Issue