Skip to content

Commit

Permalink
lint-format async-await fix
Browse files Browse the repository at this point in the history
  • Loading branch information
calummcgowan committed Nov 8, 2024
1 parent 303d96a commit 74f09ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/service/defenceService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async function resetDefenceConfigItem(
return (await response.json()) as DefenceResetResponse;
},
async () => {
return null;
return await null;

Check failure on line 88 in frontend/src/service/defenceService.ts

View workflow job for this annotation

GitHub Actions / lint-format (18.x)

Unexpected `await` of a non-Promise (non-"Thenable") value
}
);
}
Expand Down

0 comments on commit 74f09ac

Please sign in to comment.