Skip to content

Commit c31698c

Browse files
committed
fix: tweak test app
1 parent bb4fa53 commit c31698c

File tree

1 file changed

+3
-3
lines changed
  • packages/dev-vue3-firestore/src

1 file changed

+3
-3
lines changed

packages/dev-vue3-firestore/src/App.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,23 @@ import TestFirestorePluginFetch from './components/TestFirestorePluginFetch.vue'
55
import TestFirestorePluginStream from './components/TestFirestorePluginStream.vue'
66
import TestVanillaJsSDK from './components/TestVanillaJsSDK.vue'
77
8-
const example = ref<'stream' | 'fetch' | 'vanilla'>('stream')
8+
const example = ref<'stream' | 'fetch' | 'vanilla' | null>(null)
99
</script>
1010

1111
<template>
1212
<div>
1313
<ButtonToggle
1414
v-model="example"
1515
:options="[
16-
{ label: 'Stream Example', value: 'stream' },
1716
{ label: 'Fetch Example', value: 'fetch' },
17+
{ label: 'Stream Example', value: 'stream' },
1818
{ label: 'Vanilla JS SDK Test', value: 'vanilla' },
1919
]"
2020
style="margin-bottom: 1rem"
2121
/>
2222

23-
<TestFirestorePluginStream v-if="example === 'stream'" />
2423
<TestFirestorePluginFetch v-if="example === 'fetch'" />
24+
<TestFirestorePluginStream v-if="example === 'stream'" />
2525
<TestVanillaJsSDK v-if="example === 'vanilla'" />
2626
</div>
2727
</template>

0 commit comments

Comments
 (0)