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

Commit 9cd146a

Browse files
committed
remove debug lines
Signed-off-by: Michael Telatynski <[email protected]>
1 parent 9348c8a commit 9cd146a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/components/views/rooms/AppsDrawer.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ export default class AppsDrawer extends React.Component {
103103
onResizeStop: () => {
104104
this._resizeContainer.classList.remove("mx_AppsDrawer_resizing");
105105
// persist to localStorage
106-
console.log("@@ _saveResizerPreferences");
107106
localStorage.setItem(this._getStorageKey(), JSON.stringify([
108107
this.state.apps.map(app => app.id),
109108
...this.state.apps.slice(1).map((_, i) => this.resizer.forHandleAt(i).size),
@@ -117,7 +116,6 @@ export default class AppsDrawer extends React.Component {
117116
}
118117

119118
_collectResizer = (ref) => {
120-
console.log("@@ _collectResizer");
121119
if (this._resizeContainer) {
122120
this.resizer.detach();
123121
}
@@ -149,7 +147,6 @@ export default class AppsDrawer extends React.Component {
149147
};
150148

151149
_loadResizerPreferences = () => {
152-
console.log("@@ _loadResizerPreferences");
153150
try {
154151
const [[...lastIds], ...sizes] = JSON.parse(localStorage.getItem(this._getStorageKey()));
155152
// Every app was included in the last split, reuse the last sizes
@@ -168,7 +165,6 @@ export default class AppsDrawer extends React.Component {
168165
}
169166

170167
if (this.state.apps) {
171-
console.log("@@ full relaxation");
172168
const distributors = this.resizer.getDistributors();
173169
distributors.forEach(d => d.item.clearSize());
174170
distributors.forEach(d => d.start());

0 commit comments

Comments
 (0)