Skip to content

Commit

Permalink
pure only works for function calls
Browse files Browse the repository at this point in the history
  • Loading branch information
EskiMojo14 committed Feb 5, 2024
1 parent f5d8f8f commit a006ff1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/toolkit/src/createSlice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const asyncThunkSymbol = /* @__PURE__ */ Symbol.for(
// type is annotated because it's too long to infer
export const asyncThunkCreator: {
[asyncThunkSymbol]: typeof _createAsyncThunk
} = /* @__PURE__ */ {
} = {
[asyncThunkSymbol]: _createAsyncThunk,
}

Expand Down

0 comments on commit a006ff1

Please sign in to comment.