Skip to content
This repository has been archived by the owner on May 22, 2024. It is now read-only.

Commit

Permalink
fix createWithServerProps()
Browse files Browse the repository at this point in the history
  • Loading branch information
mkloubert committed Aug 4, 2023
1 parent 1ed5518 commit fac2f18
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Change Log (@egomobile/next-utils)

## 0.9.0
## 0.9.1

- **BREAKING CHANGE**: improve use of execution contextes of `EnhanceApiContext`

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@egomobile/next-utils",
"version": "0.9.0",
"version": "0.9.1",
"description": "Handy utils and extensions for Next.js",
"main": "lib/index.js",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion src/middlewares/withServerProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ export function createWithServerProps<TContext = IWithServerPropsActionContext>(

if (enhanceExecCtx.shouldStop) {
return {
"props": enhanceExecCtx.props ?? {}
...(enhanceExecCtx.props ?? {})
};
}

Expand Down

0 comments on commit fac2f18

Please sign in to comment.