From 600dc86a24e64cc1fd81c390d4015644e0ae7b73 Mon Sep 17 00:00:00 2001 From: wusaby-rush Date: Wed, 14 Aug 2024 21:40:30 +0300 Subject: [PATCH] fix: clientAction export --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index bc0e064..9008ab1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -13,7 +13,7 @@ function routesCode(imports: string | undefined, routesObject: string) { ${imports} function moduleFactory(module) { - const { default: Component, clientLoader: loader, actionLoader: action, loader: _loader, action: _action, Component: _Component, ...rest } = module; + const { default: Component, clientLoader: loader, clientAction: action, loader: _loader, action: _action, Component: _Component, ...rest } = module; return { Component, loader, action, ...rest }; }