Promise-returning function provided to attribute where a void return was expected.
On line 18 of https://pastebin.com/9EXv58Bn I am getting the error shown in the title. Should I just disable this eslint error with
// eslint-disable-next-line @typescript-eslint/no-misused-promises
as suggested in the "Quick Fix" ? Or update the default .eslintrc.json
provided by create-t3-app?3 Replies
Hi. Just do it like this
thx