Skip to content

Commit

Permalink
Refactor data handling in +page.svelte to use destructuring from $pro…
Browse files Browse the repository at this point in the history
…ps() again because I was wrong when converted it to the export let way
  • Loading branch information
nicovillamonte authored and nicovillamonte committed Dec 7, 2024
1 parent 47a71c7 commit 3a75f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/pais/[code]/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script lang="ts">
export let data
let { data } = $props()
console.info(data)
</script>
Expand Down

0 comments on commit 3a75f16

Please sign in to comment.