diff --git a/src/component/createServerComponent.tsx b/src/component/createServerComponent.tsx index 6301e93..b734d12 100644 --- a/src/component/createServerComponent.tsx +++ b/src/component/createServerComponent.tsx @@ -139,14 +139,14 @@ export function preloadServerComponent({ global = defaultGlobal }: RSCConfig) { export const ServerComponent = ({ global = defaultGlobal, source, - onAction, + ...extras }: RSCProps): JSX.Element | null => { const { Component } = React.useMemo(() => { return createServerComponent({ global }); }, [global]); if (source && Component) { - return ; + return ; } return null; };