Skip to content

Commit bca8dc6

Browse files
committed
Small fixes
1 parent 885088e commit bca8dc6

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

packages/app/src/app/pages/Sandbox/Editor/Workspace/Files/index.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,6 @@ class Files extends React.Component {
2626
const store = this.props.store;
2727
const sandbox = store.editor.currentSandbox;
2828

29-
const openedModulesByUsers = {};
30-
31-
// if (store.live.isLive) {
32-
// store.live.usersMetadata.forEach(user => {
33-
// openedModulesByUsers[user.currentModuleShortid] =
34-
// openedModulesByUsers[user.currentModuleShortid] || [];
35-
// openedModulesByUsers[user.currentModuleShortid].push(user.color);
36-
// });
37-
// }
38-
3929
return (
4030
<WorkspaceItem
4131
defaultOpen

packages/app/src/sandbox/npm/fetch-dependencies.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,9 @@ export default async function fetchDependencies(npmDependencies: Dependencies) {
157157

158158
return result;
159159
} catch (e) {
160-
e.message = `Could not fetch dependencies: ${e.message}`;
160+
e.message = `Could not fetch dependencies, please try again in a couple seconds: ${
161+
e.message
162+
}`;
161163
dispatch(actions.notifications.show(e.message, 'error'));
162164

163165
throw e;

packages/app/src/sandbox/npm/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export default async function loadDependencies(dependencies: NPMDependencies) {
3636
loadedDependencyCombination = depQuery;
3737
manifest = data;
3838

39-
setScreen({ type: 'loading', text: 'Bundling Dependencies...' });
39+
setScreen({ type: 'loading', text: 'Transpiling Modules...' });
4040
}
4141
} else {
4242
manifest = null;

0 commit comments

Comments
 (0)