Skip to content

Commit

Permalink
refactor: explicit ignore the Promise result and avoid the warning Pr…
Browse files Browse the repository at this point in the history
…omise returned from reloadLandscape is ignored
  • Loading branch information
renanfranca committed Feb 17, 2025
1 parent f490f9c commit 2189f99
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ export default defineComponent({
clearPresetSelection();

selectedRank.value = Optional.ofNullable(rank);
reloadLandscape(originalLandscape.value.value().filterByRank(selectedRank.value)).then(() => {});
void reloadLandscape(originalLandscape.value.value().filterByRank(selectedRank.value));
};

const reloadLandscape = async (response: Landscape): Promise<void> => {
Expand Down

0 comments on commit 2189f99

Please sign in to comment.