Skip to content

Commit

Permalink
remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
DeMoorJasper committed Apr 21, 2022
1 parent f688c31 commit 4e7e668
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions sandpack-client/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -282,11 +282,6 @@ export class SandpackClient {
{}
);

const template =
this.sandboxInfo.template || getTemplate(packageJSON, normalizedModules);

console.log({ template, sandboxInfo: this.sandboxInfo });

this.dispatch({
type: "compile",
codesandbox: true,
Expand All @@ -298,7 +293,9 @@ export class SandpackClient {
hasFileResolver: Boolean(this.options.fileResolver),
disableDependencyPreprocessing:
this.sandboxInfo.disableDependencyPreprocessing,
template,
template:
this.sandboxInfo.template ||
getTemplate(packageJSON, normalizedModules),
showOpenInCodeSandbox: this.options.showOpenInCodeSandbox ?? true,
showErrorScreen: this.options.showErrorScreen ?? true,
showLoadingScreen: this.options.showLoadingScreen ?? true,
Expand Down

0 comments on commit 4e7e668

Please sign in to comment.