Skip to content

Commit 5382ee4

Browse files
committed
chore: Cleanup
1 parent 3ac78ac commit 5382ee4

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

packages/react/src/data-connect/types.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,3 @@ export type FlattenedMutationResult<Data, Variables> = Omit<
1414
"data" | "toJSON"
1515
> &
1616
Data;
17-
18-
// Helper function to determine if a key is a QueryKey.
19-
export function isQueryKey(key: unknown): key is QueryKey {
20-
return Array.isArray(key) && key.length > 0;
21-
}

packages/react/src/data-connect/useDataConnectMutation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
type QueryRef,
1111
executeMutation,
1212
} from "firebase/data-connect";
13-
import { type FlattenedMutationResult } from "./types";
13+
import type { FlattenedMutationResult } from "./types";
1414

1515
export type useDataConnectMutationOptions<
1616
TData = unknown,

0 commit comments

Comments
 (0)