mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
Inline setState.
This commit is contained in:
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
Block a user