Skip to content

Commit

Permalink
refactor: remove unnecessary console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
shfx committed Feb 18, 2025
1 parent a9f780f commit 7b62c73
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/playwright-ct-svelte/registerSource.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@ function extractParams(component) {
slots = Object.fromEntries(
Object.entries(slots ?? {}).map(([key, snippet]) => {
if(typeof snippet === "string") {
console.log("ugraded", key);
return [key, createRawSnippet(() => ({render: () => snippet}))];
}

Expand Down
2 changes: 0 additions & 2 deletions tests/components/ct-svelte/src/components/NamedSlots.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<script>
const {header, main, footer} = $props()
console.log({header, main, footer});
</script>

<div>
Expand Down

0 comments on commit 7b62c73

Please sign in to comment.