diff --git a/packages/ui/src/providers/ServerFunctions/index.tsx b/packages/ui/src/providers/ServerFunctions/index.tsx index 7f32a043c0..65d596e743 100644 --- a/packages/ui/src/providers/ServerFunctions/index.tsx +++ b/packages/ui/src/providers/ServerFunctions/index.tsx @@ -100,7 +100,7 @@ export const ServerFunctionsProvider: React.FC<{ const schedulePublish = useCallback( async (args) => { - const { signal: remoteSignal, ...rest } = args || {} + const { signal: remoteSignal, ...rest } = args try { if (!remoteSignal?.aborted) {