Skip to content

Commit

Permalink
fix: clientAction export
Browse files Browse the repository at this point in the history
  • Loading branch information
ws-rush committed Aug 14, 2024
1 parent f140ee3 commit 600dc86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 };
}
Expand Down

0 comments on commit 600dc86

Please sign in to comment.