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);
|
||||
|
||||
const curlBase = this.getCurlBase();
|
||||
this.state = {
|
||||
curlBase: curlBase,
|
||||
};
|
||||
this.state = { curlBase: curlBase};
|
||||
}
|
||||
|
||||
// Return string representation of content URL without query parameters
|
||||
|
Loading…
Reference in New Issue
Block a user