refactor(frontend): Algemene linting fouten

This commit is contained in:
Tibo De Peuter 2025-03-23 12:04:54 +01:00
parent 8efce6bee0
commit dd1000c662
Signed by: tdpeuter
GPG key ID: 38297DE43F75FFE2
9 changed files with 26 additions and 25 deletions

View file

@ -12,7 +12,7 @@ export default {
* Set the role the user is currently logged in as from the local persistent storage.
* This should happen when the user logs in with another account.
*/
setActiveRole(role: Role) {
setActiveRole(role: Role): void {
localStorage.setItem("activeRole", role);
},
@ -20,7 +20,7 @@ export default {
* Remove the saved current role from the local persistent storage.
* This should happen when the user is logged out.
*/
deleteActiveRole() {
deleteActiveRole(): void {
localStorage.removeItem("activeRole");
},
};