Skip to content

Commit 790a03c

Browse files
committed
chore: lint
1 parent b4b237b commit 790a03c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

playground/docker/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ services:
55
user: postgres
66
restart: always
77
healthcheck:
8-
test: 'pg_isready -U user --dbname=postgres'
8+
test: pg_isready -U user --dbname=postgres
99
interval: 10s
1010
timeout: 5s
1111
retries: 5

src/query.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export function useQuery<
2020
const query = toValue(_query) as AdvancedQuery<TSchema, TTable, TReturn>
2121
const view = shallowRef(query.materialize(vueViewFactory))
2222

23-
if (isRef(_query) || _query instanceof Function) {
23+
if (isRef(_query) || typeof _query === 'function') {
2424
watch(_query, (query) => {
2525
view.value.destroy()
2626
view.value = (query as AdvancedQuery<TSchema, TTable, TReturn>).materialize(vueViewFactory)

0 commit comments

Comments
 (0)