Skip to content

Commit

Permalink
feature: just removed console log after testing in another package
Browse files Browse the repository at this point in the history
  • Loading branch information
alvarosabu committed Sep 12, 2024
1 parent 8908bc4 commit 03c14f0
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 1 addition & 4 deletions playground/vue/src/pages/issues/732/index.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<script setup lang="ts">
import { TresCanvas } from '@tresjs/core'
import { provide, reactive } from 'vue'
import ProvideBridge from '../../../components/ProvideBridge.vue'
import SubComponentWithInject from './SubComponentWithInject.vue'
import SubVueComponentWithInject from './SubVueComponentWithInject.vue'
Expand All @@ -23,9 +22,7 @@ function onClick() {
<SubVueComponentWithInject />
<TresCanvas clear-color="#82DBC5">
<TresPerspectiveCamera :position="[11, 11, 11]" :look-at="[0, 0, 0]" />
<ProvideBridge :keys-values="{ myKey: obj }">
<SubComponentWithInject />
</ProvideBridge>
<SubComponentWithInject />
<TresGridHelper />
<TresAmbientLight :intensity="1" />
</TresCanvas>
Expand Down
2 changes: 0 additions & 2 deletions src/components/TresCanvas.vue
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,6 @@ const createInternalComponent = (context: TresContext, empty = false) =>
Object.entries(provides)
.forEach(([key, value]) => {
provide(key, value)
// eslint-disable-next-line no-console
console.log(`provide ${key}`, value)
})
}
Expand Down

0 comments on commit 03c14f0

Please sign in to comment.