Skip to content

Commit

Permalink
dprint formatting expo-sqlite/query.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
anstapol committed Jul 24, 2024
1 parent b354202 commit 8cc707a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drizzle-orm/src/expo-sqlite/query.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { SQLiteRelationalQuery } from '~/sqlite-core/query-builders/query.ts';

export const useLiveQuery = <T extends Pick<AnySQLiteSelect, '_' | 'then'> | SQLiteRelationalQuery<'sync', unknown>>(
query: T,
deps: unknown[] = []
deps: unknown[] = [],
) => {
const [data, setData] = useState<Awaited<T>>(
(is(query, SQLiteRelationalQuery) && query.mode === 'first' ? undefined : []) as Awaited<T>,
Expand Down

0 comments on commit 8cc707a

Please sign in to comment.