Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit ba8a9f2

Browse files
committed
Comment length
1 parent d2070a0 commit ba8a9f2

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/components/views/elements/AppTile.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,8 @@ export default React.createClass({
5959
},
6060

6161
/**
62-
* Set initial component state when the App wUrl (widget URL) is being updated. Component props *must* be passed (rather than relying on this.props).
62+
* Set initial component state when the App wUrl (widget URL) is being updated.
63+
* Component props *must* be passed (rather than relying on this.props).
6364
* @param {Object} newProps The new properties of the component
6465
* @return {Object} Updated component state to be set with setState
6566
*/
@@ -71,7 +72,8 @@ export default React.createClass({
7172
loading: true, // True while the iframe content is loading
7273
widgetUrl: newProps.url,
7374
widgetPermissionId: widgetPermissionId,
74-
// Assume that widget has permission to load if we are the user who added it to the room, or if explicitly granted by the user
75+
// Assume that widget has permission to load if we are the user who
76+
// added it to the room, or if explicitly granted by the user
7577
hasPermissionToLoad: hasPermissionToLoad === 'true' || newProps.userId === newProps.creatorUserId,
7678
error: null,
7779
deleting: false,
@@ -218,7 +220,8 @@ export default React.createClass({
218220
}, "mx_IntegrationsManager");
219221
},
220222

221-
/* If user has permission to modify widgets, delete the widget, otherwise revoke access for the widget to load in the user's browser
223+
/* If user has permission to modify widgets, delete the widget,
224+
* otherwise revoke access for the widget to load in the user's browser
222225
*/
223226
_onDeleteClick() {
224227
if (this._canUserModify()) {

0 commit comments

Comments
 (0)