Skip to content

Commit

Permalink
remove warning from docs
Browse files Browse the repository at this point in the history
  • Loading branch information
EskiMojo14 committed Feb 11, 2024
1 parent 8e00d85 commit 02b338f
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions docs/api/combineSlices.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -86,17 +86,6 @@ However, typing will not be able to account for this. It's best to ensure that a

:::

:::warning

Like [`combineReducers`](https://redux.js.org/api/combinereducers), `combineSlices` requires at least one reducer at initialisation.

```ts no-transpile
// will throw an error
const rootReducer = combineSlices()
```

:::

## Return Value

`combineSlices` returns a reducer function, with attached methods.
Expand Down

0 comments on commit 02b338f

Please sign in to comment.