File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
en/docusaurus-plugin-content-docs/current/guides/examples
ja/docusaurus-plugin-content-docs/current/guides/examples
kr/docusaurus-plugin-content-docs/current/guides/examples
ru/docusaurus-plugin-content-docs/current/guides/examples Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ export const slice = createSlice({
305305 extraReducers : (builder ) => {
306306 builder .addCase (fetchSong .fulfilled , (state , action ) => {
307307 // And handle the same fetch result by inserting the artists here
308- usersAdapter .upsertMany (state , action .payload .users )
308+ artistAdapter .upsertMany (state , action .payload .artists )
309309 })
310310 },
311311})
Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ export const slice = createSlice({
309309 extraReducers : (builder ) => {
310310 builder .addCase (fetchSong .fulfilled , (state , action ) => {
311311 // ここでバックエンドからの同じレスポンスを処理し、ユーザーを追加します
312- usersAdapter .upsertMany (state , action .payload .users )
312+ artistAdapter .upsertMany (state , action .payload .artists )
313313 })
314314 },
315315})
@@ -433,4 +433,4 @@ declare module "use-react-screenshot";
433433[ ext-type-fest ] : https://github.com/sindresorhus/type-fest
434434[ ext-zod ] : https://zod.dev
435435[ ext-vite ] : https://vitejs.dev
436- [ ext-ts-reset ] : https://www.totaltypescript.com/ts-reset
436+ [ ext-ts-reset ] : https://www.totaltypescript.com/ts-reset
Original file line number Diff line number Diff line change @@ -308,7 +308,7 @@ export const slice = createSlice({
308308 extraReducers : (builder ) => {
309309 builder .addCase (fetchSong .fulfilled , (state , action ) => {
310310 // 같은 fetch 결과를 처리하며, 여기서 artists를 삽입합니다.
311- usersAdapter .upsertMany (state , action .payload .users )
311+ artistAdapter .upsertMany (state , action .payload .artists )
312312 })
313313 },
314314})
Original file line number Diff line number Diff line change @@ -307,7 +307,7 @@ export const slice = createSlice({
307307 extraReducers : (builder ) => {
308308 builder .addCase (fetchSong .fulfilled , (state , action ) => {
309309 // И здесь обрабатываем тот же ответ с бэкенда, добавляя исполнителей
310- usersAdapter .upsertMany (state , action .payload .users )
310+ artistAdapter .upsertMany (state , action .payload .artists )
311311 })
312312 },
313313})
You can’t perform that action at this time.
0 commit comments