From f559617fc868c87876dfa29752a5284e5a59cd78 Mon Sep 17 00:00:00 2001 From: EskiMojo14 Date: Mon, 5 Feb 2024 00:31:52 +0000 Subject: [PATCH] try adding a pure --- packages/toolkit/src/entities/slice_creator.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/toolkit/src/entities/slice_creator.ts b/packages/toolkit/src/entities/slice_creator.ts index 1522c44701..472e142502 100644 --- a/packages/toolkit/src/entities/slice_creator.ts +++ b/packages/toolkit/src/entities/slice_creator.ts @@ -104,7 +104,7 @@ declare module '@reduxjs/toolkit' { } } -export function createEntityMethods< +/*#__PURE__*/ export function createEntityMethods< T, Id extends EntityId, State = EntityState, @@ -181,7 +181,7 @@ export function createEntityMethods< export const entityMethodsCreator: ReducerCreator< typeof entityMethodsCreatorType -> = { +> = /*#__PURE__*/ { type: entityMethodsCreatorType, create: createEntityMethods, }