Skip to content

Commit a006ff1

Browse files
committed
pure only works for function calls
1 parent f5d8f8f commit a006ff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/toolkit/src/createSlice.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const asyncThunkSymbol = /* @__PURE__ */ Symbol.for(
3434
// type is annotated because it's too long to infer
3535
export const asyncThunkCreator: {
3636
[asyncThunkSymbol]: typeof _createAsyncThunk
37-
} = /* @__PURE__ */ {
37+
} = {
3838
[asyncThunkSymbol]: _createAsyncThunk,
3939
}
4040

0 commit comments

Comments
 (0)