Skip to content

Commit 0f31228

Browse files
committed
fix(rivetkit): allow providing no args to createRivetKit
1 parent 1f979f8 commit 0f31228

File tree

1 file changed

+1
-1
lines changed
  • rivetkit-typescript/packages/react/src

1 file changed

+1
-1
lines changed

rivetkit-typescript/packages/react/src/mod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ export { ActorConnDisposed, createClient } from "rivetkit/client";
1616
export type { ActorConnStatus } from "@rivetkit/framework-base";
1717

1818
export function createRivetKit<Registry extends AnyActorRegistry>(
19-
clientInput: Parameters<typeof createClient>[0],
19+
clientInput: Parameters<typeof createClient>[0] = undefined,
2020
opts: CreateRivetKitOptions<Registry> = {},
2121
) {
2222
return createRivetKitWithClient<Registry>(

0 commit comments

Comments
 (0)