Skip to content

Commit

Permalink
snackbar: Log the message being shown
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaellehmkuhl committed Aug 10, 2024
1 parent 2b3532c commit 686a385
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/components/Snackbar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</template>

<script setup lang="ts">
import { ref, watch } from 'vue'
import { onMounted, ref, watch } from 'vue'
const props = defineProps({
openSnackbar: Boolean,
Expand Down Expand Up @@ -62,4 +62,8 @@ watch(visibility, (newVal) => {
emits('update:openSnackbar', false)
}
})
onMounted(() => {
console.debug('Snackbar message:', textMessage.value)
})
</script>

0 comments on commit 686a385

Please sign in to comment.