Skip to content

Commit

Permalink
chore: fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
crutchcorn committed Sep 13, 2024
1 parent d2ec8e4 commit 2328188
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vue-redux/tests/use-selector.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ describe('Vue', () => {

const Parent = defineComponent(() => {
const contextVal = inject(ContextKey)
appSubscription = contextVal && contextVal.subscription
appSubscription = contextVal ? contextVal.subscription : null
const count = useNormalSelector((s) => s.count)
return () => (count.value === 1 ? <Child /> : null)
})
Expand Down Expand Up @@ -151,7 +151,7 @@ describe('Vue', () => {

const Parent = defineComponent(() => {
const contextVal = inject(ContextKey)
appSubscription = contextVal && contextVal.subscription
appSubscription = contextVal ? contextVal.subscription : null
const count = useNormalSelector((s) => s.count)
return () => (count.value === 0 ? <Child /> : null)
})
Expand Down

0 comments on commit 2328188

Please sign in to comment.