-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
async/await issue with createAsyncThunk #19133
Comments
Please remove async from the arrow function. Can you provide a PR? |
Line 69 in 2b98ce8
Line 80 in 2b98ce8
We can remove others functions warnings by changing. Lines 90 to 97 in 2b98ce8
To
|
I'm considering submitting a PR for this issue, if that's okay? (Creating a test case would require a somewhat forced approach such as checking if the action's content is of the Promise type, so I don't plan to do so.) |
Shouldn't axios.get... calls use await prefix?
Currently I have typescript linter errors over all the reducers in getEntities and getEntity
"Async arrow function has no 'await' expression."
JHipster version used to create the project is 7.8.1
The text was updated successfully, but these errors were encountered: