Skip to content

Commit

Permalink
docs(Carbon): only refresh on route name change
Browse files Browse the repository at this point in the history
  • Loading branch information
johnleider committed Mar 9, 2023
1 parent 97f9414 commit f7a1ca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/docs/src/components/promoted/Carbon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
(window as any)._carbonads.refresh()
}
watch(route, refresh)
watch(() => route.name, refresh)
</script>

<style lang="sass">
Expand Down

0 comments on commit f7a1ca9

Please sign in to comment.