Skip to content

Commit

Permalink
fix: remove superfluous deps argument
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed Nov 27, 2023
1 parent 1cf83a2 commit 031c1fe
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion vike-solid/components/ClientOnly.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export function ClientOnly<T>(props: {
load: () => Promise<{ default: Component<T> } | Component<T>>
children: (Component: Component<T>) => JSX.Element
fallback: JSX.Element
deps?: Parameters<typeof createSignal>[1]
}) {
const [getComponent, setComponent] = createSignal<Component<unknown> | undefined>(undefined);

Expand Down

0 comments on commit 031c1fe

Please sign in to comment.