refactor(editor): Stricter linting for promises and async functions (no-changelog) (#4642)
This commit is contained in:
@@ -37,7 +37,9 @@ const SettingsView = defineComponent({
|
||||
},
|
||||
methods: {
|
||||
onReturn() {
|
||||
this.$router.push(this.previousRoute ? this.previousRoute.path : { name: VIEWS.HOMEPAGE });
|
||||
void this.$router.push(
|
||||
this.previousRoute ? this.previousRoute.path : { name: VIEWS.HOMEPAGE },
|
||||
);
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user