Skip to content

Commit 36d2aef

Browse files
authored
Merge pull request #4507 from remarkablemark/patch-1
2 parents 1133bd8 + b1a1027 commit 36d2aef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/usage/migrating-to-modern-redux.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ import { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query/react'
481481
export const api = createApi({
482482
baseQuery: fetchBaseQuery({
483483
// Fill in your own server starting URL here
484-
url: '/'
484+
baseUrl: '/'
485485
}),
486486
endpoints: build => ({})
487487
})
@@ -520,7 +520,7 @@ import { createApi, fetchBaseQuery } from '@reduxjs/toolkit/query/react'
520520
export const api = createApi({
521521
baseQuery: fetchBaseQuery({
522522
// Fill in your own server starting URL here
523-
url: '/'
523+
baseUrl: '/'
524524
}),
525525
endpoints: build => ({
526526
// highlight-start

0 commit comments

Comments
 (0)