Skip to content

Commit

Permalink
fix undefined deps
Browse files Browse the repository at this point in the history
  • Loading branch information
nitedani committed Dec 6, 2023
1 parent a5c759f commit 2ab7a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vike-react/components/ClientOnly.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function ClientOnly<T>({
load,
children,
fallback,
deps
deps = []
}: {
load: () => Promise<{ default: React.ComponentType<T> } | React.ComponentType<T>>
children: (Component: React.ComponentType<T>) => ReactNode
Expand Down

0 comments on commit 2ab7a1a

Please sign in to comment.